Package org.wildfly.security.http
Class HttpAuthenticationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.wildfly.security.http.HttpAuthenticationException
-
- All Implemented Interfaces:
Serializable
public class HttpAuthenticationException extends IOException
Exception to indicate a general failure with the HTTP authentication mechanism.- Author:
- Darran Lofthouse
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description HttpAuthenticationException()
Constructs a newHttpAuthenticationException
.HttpAuthenticationException(String message)
Constructs a newHttpAuthenticationException
.HttpAuthenticationException(String message, Throwable cause)
Constructs a newHttpAuthenticationException
with an initial message and cause.HttpAuthenticationException(Throwable cause)
Constructs a newHttpAuthenticationException
with an initial cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HttpAuthenticationException
public HttpAuthenticationException()
Constructs a newHttpAuthenticationException
. The message is left blank (null
), and no cause is specified.
-
HttpAuthenticationException
public HttpAuthenticationException(String message)
Constructs a newHttpAuthenticationException
. with the message provided, and no cause is specified.- Parameters:
message
- the message for thisHttpAuthenticationException
.
-
HttpAuthenticationException
public HttpAuthenticationException(Throwable cause)
Constructs a newHttpAuthenticationException
with an initial cause.- Parameters:
cause
- the cause for thisHttpAuthenticationException
.
-
HttpAuthenticationException
public HttpAuthenticationException(String message, Throwable cause)
Constructs a newHttpAuthenticationException
with an initial message and cause.- Parameters:
message
- the message for thisHttpAuthenticationException
.cause
- the cause for thisHttpAuthenticationException
.
-
-