Class SubImageNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.xmlgraphics.image.loader.ImageException
-
- org.apache.xmlgraphics.image.loader.SubImageNotFoundException
-
- All Implemented Interfaces:
Serializable
public class SubImageNotFoundException extends ImageException
Exception which indicates that a particular (sub-)image could not be found.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SubImageNotFoundException(String s)Constructs anImageExceptionwith the specified detail message.SubImageNotFoundException(String message, Throwable cause)Constructs a newImageExceptionwith 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 Detail
-
SubImageNotFoundException
public SubImageNotFoundException(String s)
Constructs anImageExceptionwith the specified detail message. The error message stringscan later be retrieved by themethod of classThrowable.getMessage()java.lang.Throwable.- Parameters:
s- the detail message.
-
SubImageNotFoundException
public SubImageNotFoundException(String message, Throwable cause)
Constructs a newImageExceptionwith the specified detail message and cause.Note that the detail message associated with
causeis 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.)
-
-