org.barracudamvc.core.forms
Class UnableToValidateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.barracudamvc.plankton.exceptions.NestableException
              extended by org.barracudamvc.core.forms.ValidationException
                  extended by org.barracudamvc.core.forms.UnableToValidateException
All Implemented Interfaces:
Serializable

public class UnableToValidateException
extends ValidationException

This exception indicates the Validator was not able to validate the incoming value. Usually thrown due to a type mismatch (ie. the validator is expecting a number and it gets an alphanumeric string or something like that), if this occurs it probably indicates you are improperly using a validator.

See Also:
Serialized Form

Field Summary
protected  List subExceptions
           
 
Fields inherited from class org.barracudamvc.core.forms.ValidationException
sep, source
 
Constructor Summary
UnableToValidateException()
          The noargs public contructor for UnableToValidateException
UnableToValidateException(Object source)
          The public contructor for UnableToValidateException
UnableToValidateException(Object source, String s)
          The public contructor for UnableToValidateException
UnableToValidateException(Object source, String s, Exception ibaseException)
          The public contructor for UnableToValidateException
 
Method Summary
 
Methods inherited from class org.barracudamvc.core.forms.ValidationException
addSubException, getExceptionList, getExceptionList, getSource, getSubExceptions, hasSubExceptions, toString
 
Methods inherited from class org.barracudamvc.plankton.exceptions.NestableException
getBaseException, getRootException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

subExceptions

protected List subExceptions
Constructor Detail

UnableToValidateException

public UnableToValidateException()
The noargs public contructor for UnableToValidateException


UnableToValidateException

public UnableToValidateException(Object source)
The public contructor for UnableToValidateException

Parameters:
source - the object which caused this error (usually a FormElement)

UnableToValidateException

public UnableToValidateException(Object source,
                                 String s)
The public contructor for UnableToValidateException

Parameters:
source - the object which caused this error (usually a FormElement)
s - a String describing the exception

UnableToValidateException

public UnableToValidateException(Object source,
                                 String s,
                                 Exception ibaseException)
The public contructor for UnableToValidateException

Parameters:
source - the object which caused this error (usually a FormElement)
s - a String describing the exception
ibaseException - the original exception to wrap within this exception


Copyright © 2006 BarracudaMVC.org All Rights Reserved.