|
||||||||||
| 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
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(int errorCode)
Creates a new CastorException with the given nested exception. |
|
CastorException(String message)
Creates a new CastorException with the given message. |
|
CastorException(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. |
String |
getMessage()
Returns the detail message for this Exception |
void |
setErrorCode(int errorCode)
Sets the error code for this Exception |
void |
setMessage(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(String message)
message - the message for this Exceptionpublic CastorException(int errorCode)
errorCode - the error code for this Exception
public CastorException(String message,
int errorCode)
message - the detail message for this exceptionerrorCode - the error code for this Exception| Method Detail |
|---|
public int getErrorCode()
public String getMessage()
getMessage in class Throwablepublic void setErrorCode(int errorCode)
errorCode - the error codepublic void setMessage(String message)
message - the message for this Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||