Class ImageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.xmlgraphics.image.loader.ImageException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SubImageNotFoundException
Base class for all image-related exceptions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs anImageException
with the specified detail message.ImageException
(String message, Throwable cause) Constructs a newImageException
with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ImageException
Constructs anImageException
with the specified detail message. The error message strings
can later be retrieved by the
method of classThrowable.getMessage()
java.lang.Throwable
.- Parameters:
s
- the detail message.
-
ImageException
Constructs a newImageException
with the specified detail message and cause.Note that the detail message associated with
cause
is not automatically incorporated in this exception's detail message.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-