JpegLoadException
Contents
[
Hide
]Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.aspose.imaging.coreexceptions.ImageException, com.aspose.imaging.coreexceptions.imageformats.JpegException
public class JpegLoadException extends JpegException
Represents the JPEG image loading exception.
Constructors
Constructor | Description |
---|---|
JpegLoadException(String message) | Initializes a new instance of the JpegLoadException class. |
JpegLoadException(String message, Throwable innerException) | 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, int reason) | Initializes a new instance of the JpegLoadException class. |
Methods
Method | Description |
---|---|
getReason() | Gets or sets the reason of error. |
setReason(int value) | Gets or sets the reason of error. |
JpegLoadException(String message)
public JpegLoadException(String message)
Initializes a new instance of the JpegLoadException
class.
Parameters:
Parameter | Type | Description |
---|---|---|
message | java.lang.String | The exception message. |
JpegLoadException(String message, Throwable innerException)
public JpegLoadException(String message, Throwable innerException)
Initializes a new instance of the JpegLoadException
class.
Parameters:
Parameter | Type | Description |
---|---|---|
message | java.lang.String | The message. |
innerException | java.lang.Throwable | The inner exception. |
JpegLoadException(String message, int reason)
public JpegLoadException(String message, int reason)
Initializes a new instance of the JpegLoadException
class.
Parameters:
Parameter | Type | Description |
---|---|---|
message | java.lang.String | The exception message. |
reason | int | The reason of error. |
JpegLoadException(String message, Throwable innerException, int reason)
public JpegLoadException(String message, Throwable innerException, int reason)
Initializes a new instance of the JpegLoadException
class.
Parameters:
Parameter | Type | Description |
---|---|---|
message | java.lang.String | The exception message. |
innerException | java.lang.Throwable | The inner exception. |
reason | int | The reason of error. |
getReason()
public int getReason()
Gets or sets the reason of error.
Value: The reason of error.
Returns: int
setReason(int value)
public void setReason(int value)
Gets or sets the reason of error.
Value: The reason of error.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |