java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.inverno.mod.http.base.HttpException
io.inverno.mod.http.base.UnauthorizedException
- All Implemented Interfaces:
Serializable
A web exception that indicates that the access to a server resource is
Unauthorized (401).
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an unauthorized exception.UnauthorizedException(String message) Creates an unauthorized exception with the specified message.UnauthorizedException(String message, Throwable cause) Creates an unauthorized exception with the specified message and cause.UnauthorizedException(Throwable cause) Creates an unauthorized exception with the specified cause. -
Method Summary
Methods inherited from class io.inverno.mod.http.base.HttpException
getStatusCategory, getStatusCode, getStatusReasonPhraseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnauthorizedException
public UnauthorizedException()Creates an unauthorized exception.
-
UnauthorizedException
Creates an unauthorized exception with the specified message.
- Parameters:
message- a message
-
UnauthorizedException
Creates an unauthorized exception with the specified cause.
- Parameters:
cause- a cause
-
UnauthorizedException
Creates an unauthorized exception with the specified message and cause.
- Parameters:
message- a messagecause- a cause
-