Public Member Functions

org.exolab.castor.xml.CastorException Class Reference

Inherits java::lang::Exception.

List of all members.

Public Member Functions

 CastorException ()
 CastorException (String message)
 CastorException (int errorCode)
 CastorException (String message, int errorCode)
int getErrorCode ()
String getMessage ()
void setErrorCode (int errorCode)
void setMessage (String message)

Detailed Description

The base exception for Castor (or at least Castor XML)

Author:
Keith Visco
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:09:08

Constructor & Destructor Documentation

org.exolab.castor.xml.CastorException.CastorException (  ) 

Creates a new CastorException with no message, or nested Exception

org.exolab.castor.xml.CastorException.CastorException ( String  message  ) 

Creates a new CastorException with the given message.

Parameters:
message the message for this Exception
org.exolab.castor.xml.CastorException.CastorException ( int  errorCode  ) 

Creates a new CastorException with the given nested exception.

Parameters:
errorCode the error code for this Exception
org.exolab.castor.xml.CastorException.CastorException ( String  message,
int  errorCode 
)

Creates a new CastorException with the given message nested exception.

Parameters:
message the detail message for this exception
errorCode the error code for this Exception

Member Function Documentation

int org.exolab.castor.xml.CastorException.getErrorCode (  ) 

Returns the error code for this Exception, or -1 if no error code exists.

Returns:
the error code for this Exception, or -1 if no error code exists
String org.exolab.castor.xml.CastorException.getMessage (  ) 

Returns the detail message for this Exception

Returns:
the detail message for this Exception
void org.exolab.castor.xml.CastorException.setErrorCode ( int  errorCode  ) 

Sets the error code for this Exception

Parameters:
errorCode the error code
void org.exolab.castor.xml.CastorException.setMessage ( String  message  ) 

Sets the message for this Exception

Parameters:
message the message for this Exception

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties