public class InvalidLengthException extends ValidationException
| Constructor and Description |
|---|
InvalidLengthException()
Initializes a new object of InvalidLengthException .
|
InvalidLengthException(java.lang.String strMessage)
Initialized a new object of InvalidLengthException with the specified detail message
|
InvalidLengthException(java.lang.String strMessage,
java.lang.Throwable cause)
Initialized a new object of InvalidLengthException with the specified detail message and cause
|
InvalidLengthException(java.lang.Throwable cause)
This constructor is useful for exceptions that are little more than wrappers for other throwables
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
Retrieves the detail message string of this throwable.
|
public InvalidLengthException()
public InvalidLengthException(java.lang.String strMessage,
java.lang.Throwable cause)
strMessage - the detail message.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.)public InvalidLengthException(java.lang.String strMessage)
strMessage - the detail message.public InvalidLengthException(java.lang.Throwable cause)
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.)public java.lang.String getMessage()
getMessage in class ValidationException