public class TransitionValidationException extends TransitionException
TransitionException
that refers to invalid form parameters
detected in the FormAction
rather than the form validation.
In this case the error message should be presented as a form error if possible
allowing the user to modify and re-submit the form. This extends TransitionException
as a generic error message is an acceptable default behaviour.Constructor and Description |
---|
TransitionValidationException(java.lang.String message)
create the exception
|
TransitionValidationException(java.lang.String field,
java.lang.String message)
create the exception for a specific field.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getField() |
public TransitionValidationException(java.lang.String message)
message
- public TransitionValidationException(java.lang.String field, java.lang.String message)
message
-