| org.jaffa.datatypes.ValidationException org.jaffa.datatypes.exceptions.BelowMinimumException
BelowMinimumException | public class BelowMinimumException extends ValidationException (Code) | | This is thrown by the FieldValidator if the value to be validated is less than the minimum value specified in the meta data.
|
Constructor Summary | |
public | BelowMinimumException() Constructs a new BelowMinimumException. | public | BelowMinimumException(String field) Constructs a new BelowMinimumException.
Parameters: field - the field on which the exception is being thrown. | public | BelowMinimumException(String field, Object[] args) Constructs a new BelowMinimumException.
This will merge the 'field' and the 'args' into a single Object array and use that for constructing the message. | public | BelowMinimumException(String field, Object[] args, Throwable cause) Constructs a new BelowMinimumException.
This will merge the 'field' and the 'args' into a single Object array and use that for constructing the message. |
BelowMinimumException | public BelowMinimumException()(Code) | | Constructs a new BelowMinimumException.
|
BelowMinimumException | public BelowMinimumException(String field)(Code) | | Constructs a new BelowMinimumException.
Parameters: field - the field on which the exception is being thrown. This can be set later too. |
BelowMinimumException | public BelowMinimumException(String field, Object[] args)(Code) | | Constructs a new BelowMinimumException.
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. |
BelowMinimumException | public BelowMinimumException(String field, Object[] args, Throwable cause)(Code) | | Constructs a new BelowMinimumException.
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)
|
|
|