|
||||||||||
| 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
public class CastorException
The base exception for Castor (or at least Castor XML)
| Constructor Summary | |
|---|---|
CastorException()
Creates a new CastorException with no message, or nested Exception |
|
CastorException(String message)
Creates a new CastorException with the given message. |
|
CastorException(String message,
Throwable cause)
Creates a new CastorException with the given message and cause. |
|
CastorException(Throwable cause)
Creates a new CastorException with the given cause. |
|
| Method Summary | |
|---|---|
Throwable |
getCause()
Match the JDK 1.4 Throwable version of getCause() on JDK<1.4 systems. |
String |
getMessage()
Return the detailed message from this Exception. |
Throwable |
initCause(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(PrintStream s)
Print a stack trace to the specified PrintStream. |
void |
printStackTrace(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(String message)
message - the message for this Exception
public CastorException(String message,
Throwable cause)
message - The message for this exception.cause - A Throwable instance.public CastorException(Throwable cause)
cause - A Throwable instance.| Method Detail |
|---|
public Throwable initCause(Throwable cause)
initCause in class Throwablecause - The throwable you wish to attach to this exception as the 'cause' of the exception.
public Throwable getCause()
getCause in class Throwablepublic String getMessage()
getMessage in class Throwablepublic void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream s)
printStackTrace in class Throwables - The PrintStream to print a stack trace to.public void printStackTrace(PrintWriter w)
printStackTrace in class Throwablew - The PrintWriter to print a stack trace to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||