java.io.Serializablepublic class ValidationException extends XMLException
| Constructor | Description | 
|---|---|
| ValidationException() | Creates a new ValidationException with no message or nested Exception. | 
| ValidationException(java.lang.String message) | Creates a new ValidationException with the given message. | 
| ValidationException(java.lang.String message,
                   int errorCode) | Creates a new ValidationException with the given message. | 
| ValidationException(java.lang.String message,
                   java.lang.Exception exception,
                   int errorCode) | Creates a new ValidationException with the given message, nested
 Exception, and errorCode. | 
| ValidationException(java.lang.String message,
                   java.lang.Throwable exception) | Creates a new ValidationException with the given message and nested
 Exception. | 
| ValidationException(java.lang.Throwable exception) | Creates a new ValidationException with the given nested Exception. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Location | getLocation() | Returns the location of the Exception. | 
| ValidationException | getNext() | Returns the next ValidationException in the list, or null if no
 additional validation exceptions exist. | 
| protected boolean | remove(ValidationException exception) | Removes the given ValidationException from the current list of
 ValidationException. | 
| protected void | setLast(ValidationException exception) | Adds the given ValidationException as the last exception in the list. | 
| void | setLocation(Location location) | Sets the location information for this ValidationException. | 
| void | setNext(ValidationException exception) | Sets the given ValidationException as the next Exception in the list. | 
| java.lang.String | toString() | Returns the String representation of this ValidationException. | 
getCause, getMessage, initCause, printStackTrace, printStackTrace, printStackTraceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, setStackTracegetErrorCode, setErrorCodepublic ValidationException()
public ValidationException(java.lang.String message)
message - the message for this Exceptionpublic ValidationException(java.lang.String message,
                           int errorCode)
message - the message for this ExceptionerrorCode - the errorCode for this Exceptionpublic ValidationException(java.lang.Throwable exception)
exception - the nested Exceptionpublic ValidationException(java.lang.String message,
                           java.lang.Throwable exception)
message - the detail message for this Exceptionexception - the nested Exceptionpublic ValidationException(java.lang.String message,
                           java.lang.Exception exception,
                           int errorCode)
message - the detail message for this Exceptionexception - the nested ExceptionerrorCode - the errorCode for this Exceptionpublic Location getLocation()
public ValidationException getNext()
public void setLocation(Location location)
setLocation in class XMLExceptionlocation - The location information for this validation Exception.protected boolean remove(ValidationException exception)
exception - the ValidationException to removeprotected void setLast(ValidationException exception)
setNext(org.exolab.castor.xml.ValidationException) if no additional
 ValidationException(s) exist.exception - the ValidationException to set as the last exception in
        the list.public void setNext(ValidationException exception)
exception - the ValidationException to set as the next Exception in
        the list.public java.lang.String toString()
toString in class XMLExceptionIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com