java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.jooby.exception.StatusCodeException
io.jooby.exception.UnauthorizedException
- All Implemented Interfaces:
Serializable
Specific error for unauthorized access.
- Since:
- 2.4.1
- Author:
- edgar
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates an unauthorized exception.UnauthorizedException
(String message) Creates an unauthorized exception. -
Method Summary
Methods inherited from class io.jooby.exception.StatusCodeException
getStatusCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnauthorizedException
Creates an unauthorized exception.- Parameters:
message
- Message. Optional.
-
UnauthorizedException
public UnauthorizedException()Creates an unauthorized exception.
-