org.owasp.esapi.errors
Class AuthenticationHostException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.owasp.esapi.errors.EnterpriseSecurityException
              extended byorg.owasp.esapi.errors.AuthenticationException
                  extended byorg.owasp.esapi.errors.AuthenticationHostException
All Implemented Interfaces:
java.io.Serializable

public class AuthenticationHostException
extends AuthenticationException

An AuthenticationHostException should be thrown when there is a problem with the host involved with authentication, particularly if the host changes unexpectedly.

Author:
Jeff Williams (jeff.williams@aspectsecurity.com)
See Also:
Serialized Form

Constructor Summary
AuthenticationHostException(java.lang.String userMessage, java.lang.String logMessage)
          Creates a new instance of AuthenticationHostException.
AuthenticationHostException(java.lang.String userMessage, java.lang.String logMessage, java.lang.Throwable cause)
          Instantiates a new authentication exception.
 
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

AuthenticationHostException

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


AuthenticationHostException

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

Parameters:
cause - the cause