Uses of Class
org.enhydra.barracuda.core.forms.ValidationException

Packages that use ValidationException
org.enhydra.barracuda.contrib.dbroggisch.repopulation   
org.enhydra.barracuda.contrib.sam.data   
org.enhydra.barracuda.core.forms   
org.enhydra.barracuda.core.forms.validators   
 

Uses of ValidationException in org.enhydra.barracuda.contrib.dbroggisch.repopulation
 

Methods in org.enhydra.barracuda.contrib.dbroggisch.repopulation that throw ValidationException
 void SelectFormValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
           
 FormMap ErrorFormMap.validate(boolean deferExceptions)
           
 

Uses of ValidationException in org.enhydra.barracuda.contrib.sam.data
 

Methods in org.enhydra.barracuda.contrib.sam.data that throw ValidationException
 void RegexValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure a given pattern is matched Validation is only supported for FormType.STRING
 

Uses of ValidationException in org.enhydra.barracuda.core.forms
 

Subclasses of ValidationException in org.enhydra.barracuda.core.forms
 class DeferredValidationException
          This class defines a deferred validation exception.
 class ParseException
          This exception indicates a value was unable to be converted to a valid value for the specified FormType.
 class UnableToValidateException
          This exception indicates the Validator was not able to validate the incoming value.
 

Methods in org.enhydra.barracuda.core.forms that return ValidationException
 ValidationException AbstractFormValidator.generateException(Object source, boolean deferExceptions, String defaultMsg)
          This is a simple convenience method to return the appropriate type of exception based on whether we're deferring or not.
 

Methods in org.enhydra.barracuda.core.forms with parameters of type ValidationException
 void ValidationException.addSubException(ValidationException ve)
          Add a sub exception
protected  List ValidationException.getExceptionList(ValidationException ve)
           
 

Methods in org.enhydra.barracuda.core.forms that throw ValidationException
 void Or.validate(FormElement element, FormMap map, boolean deferExceptions)
          Rather than calling all the sub validate methods, we make sure at least one of the sub-validators is valid
 void Not.validate(FormElement element, FormMap map, boolean deferExceptions)
          Rather than calling all the sub validate methods, we instead validate the validator we contain--because this validator is effectively doing a "NOT", we expect to receive a ValidationException; if we dont, then we will throw a ValidationException
 void FormValidator.validate(FormElement element, FormMap formMap, boolean deferExceptions)
          Validate a FormElement locally and allow any child validators a chance to validate as well.
static String FormUtil.assertMinMax(String field, String fieldDescr, int min, int max)
          This method allows you to assert that a String value falls within a given min/max length range.
static void FormUtil.assertTrue(String errmsg, boolean expression)
          This function simply evaluates a given boolean expression and throws a ValidationException using the specified error message if its not valid
 FormMap FormMap.validate(boolean deferExceptions)
          Validate the entire form (both form level and elements).
 FormMap FormMap.validateElements(boolean deferExceptions)
          Validate just the elements (not the form)
 FormMap FormMap.validateForm(boolean deferExceptions)
          Validate just the form (not the individual elements)
 void DefaultFormValidator.validate(FormElement element, FormMap map, boolean deferExceptions)
          Validate a FormElement locally and allow any child validators a chance to validate as well.
 void DefaultFormValidator.validateForm(FormMap map, boolean deferExceptions)
          Validate an entire FormMap.
 void DefaultFormValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement.
 void DefaultFormValidator.validateFormElement(Object val, FormElement element, FormMap map, boolean deferExceptions)
          Validate a FormElement.
 FormMap DefaultFormMap.validate(boolean deferExceptions)
          Validate the entire form (both form level and elements).
 FormMap DefaultFormMap.validateElements(boolean deferExceptions)
          Validate just the elements (not the form)
 FormMap DefaultFormMap.validateForm(boolean deferExceptions)
          Validate just the form (not the individual elements)
 void And.validate(FormElement element, FormMap map, boolean deferExceptions)
          Rather than calling all the sub validate methods, we make sure at least one of the sub-validators is valid
 

Uses of ValidationException in org.enhydra.barracuda.core.forms.validators
 

Methods in org.enhydra.barracuda.core.forms.validators that throw ValidationException
 void ValidTypeValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure that the non-null orig values are valid for the specified element type
 void RangeValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make see if the element equals() a given object
 void NotNullValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure that it is not Null or blanks.
 void MinLengthValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure the length of element is not less than a Min length.
 void MaxLengthValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure the length of element does not exceed a Max length.
 void ListValidator.validate(FormElement element, FormMap formMap, boolean deferExceptions)
          Will check origVal's type and loop through all the values calling the subValidator.
 void EqualsValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make see if the element equals() a given object
 void DigitValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make see if the element equals() a given object
 void DateValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure the value is a valid date Validation is not supported for FormType.BOOLEAN FormType,INTEGER FormType.LONG FormType.SHORT FormType.DOUBLE FormType.FLOAT
 void DateRangeValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make see if the element equals() a given object
 void CardinalityValidator.validateFormElement(Object val, FormElement element, boolean deferExceptions)
          Validate a FormElement to make sure the number of values is in the specified range
 



Copyright © 2003 BarracudaMVC.org All Rights Reserved.