org.exolab.castor.xml
Class CastorException
Exception
org.exolab.castor.xml.CastorException
public class CastorException
extends Exception
The base exception for Castor (or at least Castor XML)
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:08 $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, int errorCode) - Creates a new CastorException with the given message
nested exception.
|
CastorException(int errorCode) - Creates a new CastorException with the given nested
exception.
|
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
|
CastorException
public CastorException()
Creates a new CastorException with no message,
or nested Exception
CastorException
public CastorException(String message)
Creates a new CastorException with the given message.
message
- the message for this Exception
CastorException
public CastorException(String message,
int errorCode)
Creates a new CastorException with the given message
nested exception.
message
- the detail message for this exceptionerrorCode
- the error code for this Exception
CastorException
public CastorException(int errorCode)
Creates a new CastorException with the given nested
exception.
errorCode
- the error code for this Exception
getErrorCode
public int getErrorCode()
Returns the error code for this Exception, or -1 if no
error code exists.
- the error code for this Exception, or -1 if
no error code exists
getMessage
public String getMessage()
Returns the detail message for this Exception
- the detail message for this Exception
setErrorCode
public void setErrorCode(int errorCode)
Sets the error code for this Exception
errorCode
- the error code
setMessage
public void setMessage(String message)
Sets the message for this Exception
message
- the message for this Exception
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com