Package org.owasp.esapi.errors
Class AuthenticationHostException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.owasp.esapi.errors.EnterpriseSecurityException
-
- org.owasp.esapi.errors.AuthenticationException
-
- org.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
-
-
Field Summary
-
Fields inherited from class org.owasp.esapi.errors.EnterpriseSecurityException
logger, logMessage
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AuthenticationHostException()
Instantiates a new authentication exception.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.
-
Method Summary
-
Methods inherited from class org.owasp.esapi.errors.EnterpriseSecurityException
getLogMessage, getUserMessage
-
-
-
-
Constructor Detail
-
AuthenticationHostException
protected AuthenticationHostException()
Instantiates a new authentication exception.
-
AuthenticationHostException
public AuthenticationHostException(java.lang.String userMessage, java.lang.String logMessage)
Creates a new instance of AuthenticationHostException.- Parameters:
userMessage
- the message displayed to the userlogMessage
- the message logged
-
AuthenticationHostException
public AuthenticationHostException(java.lang.String userMessage, java.lang.String logMessage, java.lang.Throwable cause)
Instantiates a new authentication exception.- Parameters:
userMessage
- the message displayed to the userlogMessage
- the message loggedcause
- the cause
-
-