|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.media.jai.util.ImagingException
public class ImagingException
This class is designed to contain information of the (abnormal)
situations that happen in JAI and the operations plugged into JAI.
The behavior of this class imitates the Exception
class
in JavaTM 2 Platform version 1.4
to define a chained exception and is call-compatible
with JavaTM 2 Platform version 1.4:
The cause can be stored and retrieved from the
instance of this class. Also, the root cause for an instance
can be retrieved.
Constructor Summary | |
---|---|
ImagingException()
The default constructor. |
|
ImagingException(String message)
The constructor to accept the message that describes the situation. |
|
ImagingException(String message,
Throwable cause)
The constructor to accept the cause of this ImagingException
and the message that describes the situation. |
|
ImagingException(Throwable cause)
The constructor to accept the cause of this ImagingException . |
Method Summary | |
---|---|
Throwable |
getCause()
Returns the cause of this ImagingException . |
Throwable |
getRootCause()
Recursively retrieves the root cause of this ImagingException . |
void |
printStackTrace()
Prints the stack trace. |
void |
printStackTrace(PrintStream s)
Prints the stack trace. |
void |
printStackTrace(PrintWriter s)
Prints the stack trace. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImagingException()
public ImagingException(String message)
message
- The message to describe the situation.public ImagingException(Throwable cause)
ImagingException
.
cause
- The cause of this ImagingException
.public ImagingException(String message, Throwable cause)
ImagingException
and the message that describes the situation.
message
- The message that describes the situation.cause
- The cause of this ImagingException
Method Detail |
---|
public Throwable getCause()
ImagingException
.
getCause
in class Throwable
public Throwable getRootCause()
ImagingException
.
public void printStackTrace()
ImagingException
and the trace of its cause.
printStackTrace
in class Throwable
public void printStackTrace(PrintStream s)
ImagingException
and the trace of its cause.
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter s)
ImagingException
and the trace of its cause.
printStackTrace
in class Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |