com.ail.core.validator
Class ValidationError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by com.ail.core.BaseError
              extended by 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

Constructor Summary
ValidationError(BaseException e)
          Constructor Turn a BaseException into a BaseError
ValidationError(java.lang.String description)
          Constructor
ValidationError(java.lang.String description, java.lang.Throwable target)
          Constructor
 
Method Summary
 
Methods inherited from class com.ail.core.BaseError
getDescription, printStackTrace, printStackTrace, printStackTrace, toString
 
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
 

Constructor Detail

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.