org.owasp.esapi.errors
Class AuthenticationAccountsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.owasp.esapi.errors.EnterpriseSecurityException
              extended by org.owasp.esapi.errors.AuthenticationException
                  extended by org.owasp.esapi.errors.AuthenticationAccountsException
All Implemented Interfaces:
java.io.Serializable

public class AuthenticationAccountsException
extends AuthenticationException

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

Field Summary
 
Fields inherited from class org.owasp.esapi.errors.EnterpriseSecurityException
logger, logMessage
 
Constructor Summary
protected AuthenticationAccountsException()
          Instantiates a new authentication exception.
  AuthenticationAccountsException(java.lang.String userMessage, java.lang.String logMessage)
          Creates a new instance of AuthenticationAccountsException.
  AuthenticationAccountsException(java.lang.String userMessage, java.lang.String logMessage, java.lang.Throwable cause)
          Instantiates a new authentication exception.
 
Method Summary
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthenticationAccountsException

protected AuthenticationAccountsException()
Instantiates a new authentication exception.


AuthenticationAccountsException

public AuthenticationAccountsException(java.lang.String userMessage,
                                       java.lang.String logMessage)
Creates a new instance of AuthenticationAccountsException.

Parameters:
userMessage - the message displayed to the user
logMessage - the message logged

AuthenticationAccountsException

public AuthenticationAccountsException(java.lang.String userMessage,
                                       java.lang.String logMessage,
                                       java.lang.Throwable cause)
Instantiates a new authentication exception.

Parameters:
userMessage - the message displayed to the user
logMessage - the message logged
cause - the root cause


Copyright © 2011 The Open Web Application Security Project (OWASP). All Rights Reserved.