com.ail.core.validator
Class ValidationError
java.lang.Object
java.lang.Throwable
java.lang.Error
com.ail.core.BaseError
com.ail.core.validator.ValidationError
- All Implemented Interfaces:
- java.io.Serializable
public class ValidationError
- extends BaseError
Error indicating that validation could not be completed. The error indicates some form of
configuration problem.
- Version:
- $Revision: 1.2 $
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ValidationError
public ValidationError(java.lang.String description)
- Constructor
- Parameters:
description - A description of the error.
ValidationError
public ValidationError(java.lang.String description,
java.lang.Throwable target)
- Constructor
- Parameters:
description - A description of the error.target - The exception that caused this error to be thrown.
ValidationError
public ValidationError(BaseException e)
- Constructor
Turn a BaseException into a BaseError
- Parameters:
e - BaseException to convert.