|
|||||||||
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
org.castor.core.exceptions.CastorRuntimeException
public class CastorRuntimeException
CastorRuntimeException is the superclass of all unchecked Castor exceptions that are thrown during the normal operation of the Java Virtual Machine.
Constructor Summary | |
---|---|
CastorRuntimeException()
Constructs a new Castor runtime exception without a message. |
|
CastorRuntimeException(java.lang.String message)
Constructs a new Castor runtime exception with the specified detail message. |
|
CastorRuntimeException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new Castor runtime exception with the specified detail message and cause. |
|
CastorRuntimeException(java.lang.Throwable cause)
Constructs a new Castor runtime exception with the specified cause and the detail message of the cause. |
Method Summary | |
---|---|
java.lang.Throwable |
getCause()
The method emulates the JDK 1.4 Throwable version of getCause() for JDKs before 1.4. |
java.lang.Throwable |
initCause(java.lang.Throwable cause)
The method emulates the JDK 1.4 Throwable version of initCause() for JDKs before 1.4. |
void |
printStackTrace()
|
void |
printStackTrace(java.io.PrintStream s)
|
void |
printStackTrace(java.io.PrintWriter w)
|
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 CastorRuntimeException()
public CastorRuntimeException(java.lang.String message)
message
- The detail message.public CastorRuntimeException(java.lang.Throwable cause)
cause
- The cause.public CastorRuntimeException(java.lang.String message, java.lang.Throwable cause)
message
- The detail message.cause
- The cause.Method Detail |
---|
public final java.lang.Throwable initCause(java.lang.Throwable cause)
initCause
in class java.lang.Throwable
public final java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public final void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
public final void printStackTrace(java.io.PrintWriter w)
printStackTrace
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |