next up previous contents
Next: XML Up: Validation Previous: Mandatory, Length   Contents

ValidationExceptions

When a validator encounters a failed assertion it continues processing that object, then throws a validation exception containing a Vector of FieldErrors. The method getErrorCode will return an int which defaults to the values in abra.validation.ValidationCodes (LENGTH_FAILED, MANDATORY_FAILED, REGEXP_FAILED). left]If the field is a String the error will be StringError For the regular expressions this can be overriden by using the code= tag and a new error name can be generated by using the name= tag.



2002-03-05