org.exolab.castor.xml
public class XMLException extends CastorException
Version: $Revision: 1.4 $ $Date: 2004/10/05 20:25:33 $
Constructor Summary | |
---|---|
XMLException()
Creates a new XMLException with no message
or nested Exception.
| |
XMLException(String message)
Creates a new XMLException with the given message.
| |
XMLException(Throwable exception)
Creates a new XMLException with the given nested
exception.
| |
XMLException(String message, int errorCode)
Creates a new XMLException with the given message.
| |
XMLException(String message, Throwable exception)
Creates a new XMLException with the given message
and nested exception.
| |
XMLException(String message, Throwable exception, int errorCode)
Creates a new XMLException with the given message,
nested exception, and errorCode.
|
Method Summary | |
---|---|
int | getErrorCode()
Returns the error code for this Exception, or -1 if no error code exists.
|
void | setErrorCode(int errorCode)
Sets the error code for this Exception
|
void | setLocation(Location location)
Sets the location information for this Exception
|
String | toString()
Returns the String representation of this Exception.
|
Parameters: message the message for this Exception
Parameters: exception the nested exception
Parameters: message the message for this Exception errorCode the errorCode for this Exception
Parameters: message the detail message for this exception exception the nested exception
Parameters: message the detail message for this exception exception the nested exception errorCode the errorCode for this Exception
Returns: the error code for this Exception, or -1 if no error code exists
Parameters: errorCode the error code
Parameters: location, the location information for this validation exception
Returns: the String representation of this Exception.