public class ValidationException extends NumberedException
Supports the assignment of an error number at construction.
| Constructor and Description |
|---|
ValidationException(java.lang.String message)
Constructor which accepts an error message only.
|
ValidationException(java.lang.String message,
int number)
Constructor which accepts an error message and an error number.
|
ValidationException(java.lang.String message,
java.lang.Throwable rootCause)
Constructor which accepts an error message and which chains a root cause exception.
|
ValidationException(java.lang.Throwable rootCause)
Constructor which accepts and wraps a root cause.
|
fillInStackTrace, getNumber, getNumbers, isPrefixpublic ValidationException(java.lang.String message)
message - Error message.public ValidationException(java.lang.String message,
java.lang.Throwable rootCause)
message - Error message.rootCause - Root cause exceptionpublic ValidationException(java.lang.String message,
int number)
message - Error message.number - Error number.public ValidationException(java.lang.Throwable rootCause)
rootCause - Exception which has been caught in the course of trying to validate a record.