com.groupdocs.editor.htmlcss.exceptions

Class InvalidImageFormatException

  • All Implemented Interfaces:
    Serializable


    public class InvalidImageFormatException
    extends RuntimeException

    The exception that is thrown when trying to open, load, save or process somehow else some content, that presumably is an image (raster or vector), but actually is an image of unexpected type or not an image at all.

    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidImageFormatException

        public InvalidImageFormatException(String message)

        Creates new instance of InvalidImageFormatException with specified error message

        Parameters:
        message - Textual message, that describes the error, can be null or empty
      • InvalidImageFormatException

        public InvalidImageFormatException(String message,
                                           RuntimeException innerException)

        Creates new instance of InvalidImageFormatException with specified error message and a reference to the inner exception that is the cause of this exception

        Parameters:
        message - Textual message, that describes the error, can be null or empty
        innerException - The exception that is the cause of the current exception, or a null reference if no inner exception is specified.