Packages

 

com.aspose.imaging.coreexceptions.imageformats

Class JpegLoadException

    • Constructor Detail

      • JpegLoadException

        public JpegLoadException(String message)

        Initializes a new instance of the JpegLoadException class.

        Parameters:
        message - The exception message.
      • JpegLoadException

        public JpegLoadException(String message,
                                 Throwable innerException)

        Initializes a new instance of the JpegLoadException class.

        Parameters:
        message - The message.
        innerException - The inner exception.
      • JpegLoadException

        public JpegLoadException(String message,
                                 int reason)

        Initializes a new instance of the JpegLoadException class.

        Parameters:
        message - The exception message.
        reason - The reason of error.
      • JpegLoadException

        public JpegLoadException(String message,
                                 Throwable innerException,
                                 int reason)

        Initializes a new instance of the JpegLoadException class.

        Parameters:
        message - The exception message.
        innerException - The inner exception.
        reason - The reason of error.
    • Method Detail

      • getReason

        public int getReason()

        Gets or sets the reason of error.

        Value: The reason of error.
      • setReason

        public void setReason(int value)

        Gets or sets the reason of error.

        Value: The reason of error.