public class JpegLoadException extends JpegException
Represents the JPEG image loading exception.
| Modifier and Type | Class and Description |
|---|---|
static class |
JpegLoadException.ErrorReason
Represents the reasons of error.
|
| Constructor and Description |
|---|
JpegLoadException(String message)
Initializes a new instance of the
JpegLoadException class. |
JpegLoadException(String message,
int reason)
Initializes a new instance of the
JpegLoadException class. |
JpegLoadException(String message,
Throwable innerException)
Initializes a new instance of the
JpegLoadException class. |
JpegLoadException(String message,
Throwable innerException,
int reason)
Initializes a new instance of the
JpegLoadException class. |
| Modifier and Type | Method and Description |
|---|---|
int |
getReason()
Gets or sets the reason of error.
|
void |
setReason(int value)
Gets or sets the reason of error.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic JpegLoadException(String message)
Initializes a new instance of the JpegLoadException class.
message - The exception message.public JpegLoadException(String message, Throwable innerException)
Initializes a new instance of the JpegLoadException class.
message - The message.innerException - The inner exception.public JpegLoadException(String message, int reason)
Initializes a new instance of the JpegLoadException class.
message - The exception message.reason - The reason of error.Copyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.