Uses of Class
org.apache.tapestry5.ValidationException
-
Packages that use ValidationException Package Description org.apache.tapestry5 Root package for Tapestry, containing common interfaces and data types used throughout the framework.org.apache.tapestry5.corelib.components The set of core components available in all Tapestry applicationsorg.apache.tapestry5.internal.beanvalidator [INTERNAL USE ONLY] JSR-303 Bean Validation implementation details; API subject to changeorg.apache.tapestry5.internal.services [INTERNAL USE ONLY] internal service classes; API subject to changeorg.apache.tapestry5.internal.translator [INTERNAL USE ONLY] translator implementation classes; API subject to change.org.apache.tapestry5.validator Validators for use by Tapestry (and custom) form field components. -
-
Uses of ValidationException in org.apache.tapestry5
Methods in org.apache.tapestry5 that throw ValidationException Modifier and Type Method Description T
FieldTranslator. parse(String input)
Invoked after the client-submitted value has beentranslated
to check that the value conforms to expectations (often, in terms of minimum or maximum value).Object
FieldValidationSupport. parseClient(String clientValue, ComponentResources componentResources, FieldTranslator<Object> translator, NullFieldStrategy nullFieldStrategy)
A wrapper aroundTranslator.parseClient(Field, String, String)
.T
Translator. parseClient(Field field, String clientValue, String message)
Converts a submitted request value into an appropriate server side value.void
FieldValidationSupport. validate(Object value, ComponentResources componentResources, FieldValidator validator)
Performs validation on a parsed value from the client.void
FieldValidator. validate(T value)
Invoked after the client-submitted value has beentranslated
to check that the value conforms to expectations (often, in terms of minimum or maximum value).void
Validator. validate(Field field, C constraintValue, MessageFormatter formatter, T value)
Invoked after the client-submitted value has beentranslated
to check that the value conforms to expectations (often, in terms of minimum or maximum value). -
Uses of ValidationException in org.apache.tapestry5.corelib.components
Methods in org.apache.tapestry5.corelib.components that throw ValidationException Modifier and Type Method Description protected Object
Select. toValue(String submittedValue)
-
Uses of ValidationException in org.apache.tapestry5.internal.beanvalidator
Methods in org.apache.tapestry5.internal.beanvalidator that throw ValidationException Modifier and Type Method Description void
BeanFieldValidator. validate(Object value)
-
Uses of ValidationException in org.apache.tapestry5.internal.services
Methods in org.apache.tapestry5.internal.services that throw ValidationException Modifier and Type Method Description T
FieldTranslatorImpl. parse(String input)
Object
FieldValidationSupportImpl. parseClient(String clientValue, ComponentResources componentResources, FieldTranslator<Object> translator, NullFieldStrategy nullFieldStrategy)
void
CompositeFieldValidator. validate(Object value)
void
FieldValidationSupportImpl. validate(Object value, ComponentResources componentResources, FieldValidator validator)
void
FieldValidatorImpl. validate(Object value)
-
Uses of ValidationException in org.apache.tapestry5.internal.translator
Methods in org.apache.tapestry5.internal.translator that throw ValidationException Modifier and Type Method Description T
NumericTranslator. parseClient(Field field, String clientValue, String message)
String
StringTranslator. parseClient(Field field, String clientValue, String message)
Passes the clientValue through unchanged. -
Uses of ValidationException in org.apache.tapestry5.validator
Methods in org.apache.tapestry5.validator that throw ValidationException Modifier and Type Method Description void
Email. validate(Field field, Void constraintValue, MessageFormatter formatter, String value)
void
Max. validate(Field field, Long constraintValue, MessageFormatter formatter, Number value)
void
MaxLength. validate(Field field, Integer constraintValue, MessageFormatter formatter, String value)
void
Min. validate(Field field, Long constraintValue, MessageFormatter formatter, Number value)
void
MinLength. validate(Field field, Integer constraintValue, MessageFormatter formatter, String value)
void
None. validate(Field field, Void constraintValue, MessageFormatter formatter, Object value)
Does nothing.void
Regexp. validate(Field field, Pattern constraintValue, MessageFormatter formatter, String value)
void
Required. validate(Field field, Void constraintValue, MessageFormatter formatter, Object value)
-