org.apache.geronimo.validator
Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.geronimo.validator.ValidationException
- All Implemented Interfaces:
- Serializable
- public class ValidationException
- extends RuntimeException
Used by the provided validation logic to indicate that a fatal error has
occured and the validation has failed. Typically tests should not use this,
instead returning a ValidationResult to indicate an error. This should only
be used when there's an urgent need to abort.
It is a runtime exception because no user-provided validation code needs to
catch it; it will be trapped by the core validator implementation.
- Version:
- $Revision: 1.3 $ $Date: 2004/03/10 09:58:44 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ValidationException
public ValidationException()
ValidationException
public ValidationException(Throwable cause)
ValidationException
public ValidationException(String message)
ValidationException
public ValidationException(String message,
Throwable cause)
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.