|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.exolab.castor.xml.CastorException
org.exolab.castor.xml.ValidationException
An exception that can be used to signal XML validation errors
| Constructor Summary | |
ValidationException()
Creates a new ValidationException with no message, or nested Exception |
|
ValidationException(java.lang.Exception exception)
Creates a new ValidationException with the given nested exception. |
|
ValidationException(java.lang.String message)
Creates a new ValidationException with the given message. |
|
ValidationException(java.lang.String message,
java.lang.Exception exception)
Creates a new ValidationException with the given message and nested exception. |
|
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,
int errorCode)
Creates a new ValidationException with the given message. |
|
| Method Summary | |
java.lang.Exception |
getException()
Returns the exception, which in turn caused this Exception to be thrown, or null if nested exception exists. |
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. |
void |
setLocation(Location location)
Sets the location information for this ValidationException |
java.lang.String |
toString()
Returns the String representation of this Exception |
| Methods inherited from class org.exolab.castor.xml.CastorException |
getErrorCode, getMessage, setErrorCode, setMessage |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ValidationException()
public ValidationException(java.lang.String message)
message - the message for this Exception
public ValidationException(java.lang.String message,
int errorCode)
message - the message for this ExceptionerrorCode - the errorCode for this Exceptionpublic ValidationException(java.lang.Exception exception)
exception - the nested exception
public ValidationException(java.lang.String message,
java.lang.Exception exception)
message - the detail message for this exceptionexception - the nested exception
public 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 Exception| Method Detail |
public java.lang.Exception getException()
public Location getLocation()
public ValidationException getNext()
public void setLocation(Location location)
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||