org.exolab.castor.xml
public class CastorException extends Exception
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:08 $
| 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(int errorCode)
Creates a new CastorException with the given nested
exception. | |
| 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 |
Parameters: message the message for this Exception
Parameters: errorCode the error code for this Exception
Parameters: message the detail message for this exception errorCode the error code for this Exception
Returns: the error code for this Exception, or -1 if no error code exists
Returns: the detail message for this Exception
Parameters: errorCode the error code
Parameters: message the message for this Exception