|
|||||||||||
| 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.xml.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(int errorCode)
Creates a new CastorException with the given nested exception. |
|
CastorException(java.lang.String message)
Creates a new CastorException with the given message. |
|
CastorException(java.lang.String message,
int errorCode)
Creates a new CastorException with the given message nested exception. |
|
| Method Summary | |
int |
getErrorCode()
Returns the error code for this Exception, or -1 if no error code exists. |
java.lang.String |
getMessage()
Returns the detail message for this Exception |
void |
setErrorCode(int errorCode)
Sets the error code for this Exception |
void |
setMessage(java.lang.String message)
Sets the message for this Exception |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, 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(int errorCode)
errorCode - the error code for this Exception
public CastorException(java.lang.String message,
int errorCode)
message - the detail message for this exceptionerrorCode - the error code for this Exception| Method Detail |
public int getErrorCode()
public java.lang.String getMessage()
public void setErrorCode(int errorCode)
errorCode - the error codepublic void setMessage(java.lang.String message)
message - the message for this Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||