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