Package org.flasby.security
Class AuthException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.flasby.security.HttpResponseException
-
- org.flasby.security.AuthException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Auth401Exception
,Auth403Exception
public class AuthException extends HttpResponseException
The 401 (Unauthorized) status code indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthException(int status)
AuthException(int status, Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AuthException
public AuthException(int status)
-
AuthException
public AuthException(int status, Throwable cause)
-
-