org.exolab.castor.xml
public class ValidationException extends CastorException
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:16 $
Constructor Summary | |
---|---|
ValidationException()
Creates a new ValidationException with no message,
or nested Exception
| |
ValidationException(String message)
Creates a new ValidationException with the given message. | |
ValidationException(String message, int errorCode)
Creates a new ValidationException with the given message. | |
ValidationException(Exception exception)
Creates a new ValidationException with the given nested
exception. | |
ValidationException(String message, Exception exception)
Creates a new ValidationException with the given message
and nested exception. | |
ValidationException(String message, Exception exception, int errorCode)
Creates a new ValidationException with the given message,
nested exception, and errorCode. |
Method Summary | |
---|---|
Exception | getException()
Returns the exception, which in turn caused this Exception to
be thrown, or null if nested exception exists. |
Location | getLocation() |
void | setLocation(Location location)
Sets the location information for this ValidationException |
String | toString()
Returns the String representation of this Exception |
Parameters: message the message for this Exception
Parameters: message the message for this Exception errorCode the errorCode for this Exception
Parameters: exception the nested 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 exception, which in turn caused this Exception to be thrown, or null if nested exception exists.
Parameters: location, the location information for this validation exception
Returns: the String representation of this Exception