|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.guiseframework.validator.ValidationException
public class ValidationException
Exception class for a validation error. The stored message may be a resource reference, which will be resolved at a later time when needed.
Resources.createStringResourceReference(String),
Serialized Form| Constructor Summary | |
|---|---|
ValidationException()
Constructs a new exception with null as its detail message. |
|
ValidationException(java.lang.String message)
Constructs a new exception with the specified detail message. |
|
ValidationException(java.lang.String message,
java.lang.Object value)
Constructs a new exception with the specified detail message and value object. |
|
ValidationException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause. |
|
ValidationException(java.lang.String message,
java.lang.Throwable cause,
java.lang.Object value)
Constructs a new exception with the specified detail message, cause, and value object. |
|
ValidationException(java.lang.Throwable cause)
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()). |
|
| Method Summary | |
|---|---|
java.lang.Object |
getValue()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ValidationException()
null as its detail message.
The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).
public ValidationException(java.lang.String message)
Throwable.initCause(java.lang.Throwable).
message - The detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
public ValidationException(java.lang.String message,
java.lang.Object value)
Throwable.initCause(java.lang.Throwable).
message - The detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.value - The value being validated, which may be of any type, or null if the value being validated is not available.public ValidationException(java.lang.Throwable cause)
(cause==null ? null : cause.toString()).
cause - The cause (which is saved for later retrieval by the Throwable.getCause() method), or null if the cause is nonexistent or unknown.
public ValidationException(java.lang.String message,
java.lang.Throwable cause)
message - The detail message (which is saved for later retrieval by the Throwable.getMessage() method).cause - The cause (which is saved for later retrieval by the Throwable.getCause() method), or null if the cause is nonexistent or unknown.
public ValidationException(java.lang.String message,
java.lang.Throwable cause,
java.lang.Object value)
message - The detail message (which is saved for later retrieval by the Throwable.getMessage() method).cause - The cause (which is saved for later retrieval by the Throwable.getCause() method), or null if the cause is nonexistent or unknown.value - The value being validated, which may be of any type, or null if the value being validated is not available.| Method Detail |
|---|
public java.lang.Object getValue()
null if the value being validated is not available.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||