|
Snapper 3.0 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.enhydra.snapper.api.RootException
public class RootException
This exception is base for all exceptions defined in Shark. It allows implementation of chain exceptions, and this implementation takes care if JDK1.3 or JDK1.4 is used.
Constructor Summary | |
---|---|
RootException()
Constructs a new exception with null as its detail message. |
|
RootException(java.lang.String message)
Constructs a new exception with the specified detail message. |
|
RootException(java.lang.String message,
java.lang.Throwable t)
Constructs a new exception with the specified detail message and cause. |
|
RootException(java.lang.Throwable t)
Constructs a new exception with the specified cause. |
Method Summary | |
---|---|
java.lang.Throwable |
getCause()
Returns the cause of this exception. |
java.lang.Throwable |
initCause(java.lang.Throwable t)
Initializes the cause of this exception to the specified value. |
void |
printStackTrace()
Method printStackTrace prints the stack trace to the standard error stream. |
void |
printStackTrace(java.io.PrintStream ps)
Method printStackTrace prints the stack trace to the ps PrintStream. |
void |
printStackTrace(java.io.PrintWriter pw)
Method printStackTrace prints the stack trace to the pw PrintWriter. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RootException()
public RootException(java.lang.String message)
message
- the detail message.public RootException(java.lang.Throwable t)
t
- the cause. A null value is permitted, and indicates that
the cause is nonexistent or unknown.public RootException(java.lang.String message, java.lang.Throwable t)
message
- the detail message.t
- the cause. A null value is permitted, and indicates that
the cause is nonexistent or unknown.Method Detail |
---|
public java.lang.Throwable initCause(java.lang.Throwable t) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException
initCause
in class java.lang.Throwable
t
- the cause.
java.lang.IllegalArgumentException
java.lang.IllegalStateException
public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream ps)
printStackTrace
in class java.lang.Throwable
ps
- PrintStream used for the output.public void printStackTrace(java.io.PrintWriter pw)
printStackTrace
in class java.lang.Throwable
pw
- PrintWriter used for the output.public void printStackTrace()
printStackTrace
in class java.lang.Throwable
|
Snapper 3.0 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |