|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.owasp.esapi.errors.EnterpriseSecurityException
org.owasp.esapi.errors.ValidationException
A ValidationException should be thrown to indicate that the data provided by the user or from some other external source does not match the validation rules that have been specified for that data.
| Constructor Summary | |
ValidationException(java.lang.String userMessage,
java.lang.String logMessage)
Creates a new instance of ValidationException. |
|
ValidationException(java.lang.String userMessage,
java.lang.String logMessage,
java.lang.Throwable cause)
Instantiates a new ValidationException. |
|
| Methods inherited from class org.owasp.esapi.errors.EnterpriseSecurityException |
getLogMessage, getUserMessage |
| 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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ValidationException(java.lang.String userMessage,
java.lang.String logMessage)
public ValidationException(java.lang.String userMessage,
java.lang.String logMessage,
java.lang.Throwable cause)
cause - the cause
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||