| org.jaffa.datatypes.ValidationException org.jaffa.datatypes.exceptions.ExceedsMaximumException
ExceedsMaximumException | public class ExceedsMaximumException extends ValidationException (Code) | | This is thrown by the FieldValidator if the value to be validated is greater than the maximum value specified in the meta data.
|
Constructor Summary | |
public | ExceedsMaximumException() Constructs a new ExceedsMaximumException. | public | ExceedsMaximumException(String field) Constructs a new ExceedsMaximumException.
Parameters: field - the field on which the exception is being thrown. | public | ExceedsMaximumException(String field, Object[] args) Constructs a new ExceedsMaximumException.
This will merge the 'field' and the 'args' into a single Object array and use that for constructing the message. | public | ExceedsMaximumException(String field, Object[] args, Throwable cause) Constructs a new ExceedsMaximumException.
This will merge the 'field' and the 'args' into a single Object array and use that for constructing the message. |
ExceedsMaximumException | public ExceedsMaximumException()(Code) | | Constructs a new ExceedsMaximumException.
|
ExceedsMaximumException | public ExceedsMaximumException(String field)(Code) | | Constructs a new ExceedsMaximumException.
Parameters: field - the field on which the exception is being thrown. This can be set later too. |
ExceedsMaximumException | public ExceedsMaximumException(String field, Object[] args)(Code) | | Constructs a new ExceedsMaximumException.
This will merge the 'field' and the 'args' into a single Object array and use that for constructing the message. Hence, it is imperative that the error message has the field as the first argument.
Parameters: field - the field on which the exception is being thrown. This can be set later too. Parameters: args - the arguments (everything other than the field), if any, that need to be merged into the error message from the resource bundle. |
ExceedsMaximumException | public ExceedsMaximumException(String field, Object[] args, Throwable cause)(Code) | | Constructs a new ExceedsMaximumException.
This will merge the 'field' and the 'args' into a single Object array and use that for constructing the message. Hence, it is imperative that the error message have the field as argument 0.
Parameters: field - the field on which the exception is being thrown. This can be set later too. Parameters: args - the arguments, if any, that need to be merged into the error message from the resource bundle. Parameters: cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown. |
Methods inherited from org.jaffa.datatypes.ValidationException | public void setField(String field)(Code)(Java Doc)
|
|
|