org.owasp.esapi.errors
Class AuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.owasp.esapi.errors.EnterpriseSecurityException
org.owasp.esapi.errors.AuthenticationException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AuthenticationAccountsException, AuthenticationCredentialsException, AuthenticationHostException, AuthenticationLoginException
public class AuthenticationException
- extends EnterpriseSecurityException
An AuthenticationException should be thrown when anything goes wrong during
login or logout. They are also appropriate for any problems related to
identity management.
- Author:
- Jeff Williams ([email protected])
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AuthenticationException
protected AuthenticationException()
- Instantiates a new authentication exception.
AuthenticationException
public AuthenticationException(String userMessage,
String logMessage)
- Creates a new instance of
AuthenticationException
.
- Parameters:
userMessage
- the message displayed to the userlogMessage
- the message logged
AuthenticationException
public AuthenticationException(String userMessage,
String logMessage,
Throwable cause)
- Instantiates a new authentication exception.
- Parameters:
userMessage
- the message displayed to the userlogMessage
- the message loggedcause
- the root cause
Copyright © 2013 The Open Web Application Security Project (OWASP). All Rights Reserved.