|
|||||||||
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.exolab.castor.core.exceptions.CastorException
The base exception for Castor (or at least Castor XML)
Field Summary |
Fields inherited from class java.lang.Exception |
|
Constructor Summary | |
CastorException()
Creates a new CastorException with no message, or nested Exception |
|
CastorException(java.lang.String message)
Creates a new CastorException with the given message. |
|
CastorException(java.lang.String message,
java.lang.Throwable cause)
Creates a new CastorException with the given message and cause. |
|
CastorException(java.lang.Throwable cause)
Creates a new CastorException with the given cause. |
Method Summary | |
java.lang.Throwable |
getCause()
Match the JDK 1.4 Throwable version of getCause() on JDK<1.4 systems. |
java.lang.Throwable |
getException()
Deprecated. Please move to getCause(). |
java.lang.String |
getMessage()
Return the detailed message from this exception. |
java.lang.Throwable |
initCause(java.lang.Throwable cause)
Match the JDK 1.4 Throwable version of initCause() on JDK<1.4 systems. |
void |
printStackTrace()
Print a stack trace to stderr. |
void |
printStackTrace(java.io.PrintStream s)
Print a stack trace to the specified PrintStream. |
void |
printStackTrace(java.io.PrintWriter w)
Print a stack trace to the specified PrintWriter. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CastorException()
public CastorException(java.lang.String message)
message
- the message for this Exceptionpublic CastorException(java.lang.String message, java.lang.Throwable cause)
message
- The message for this exception.cause
- A Throwable instance.public CastorException(java.lang.Throwable cause)
cause
- A Throwable instance.Method Detail |
public java.lang.Throwable initCause(java.lang.Throwable cause)
cause
- The throwable you wish to attach to this exception as the 'cause' of the exception.
public java.lang.Throwable getCause()
public java.lang.Throwable getException()
public java.lang.String getMessage()
public void printStackTrace()
public void printStackTrace(java.io.PrintStream s)
s
- The PrintStream to print a stack trace to.public void printStackTrace(java.io.PrintWriter w)
w
- The PrintWriter to print a stack trace to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |