Class UnauthorizedRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hawaiiframework.exception.HawaiiException
org.hawaiiframework.web.exception.HttpException
org.hawaiiframework.web.exception.UnauthorizedRequestException
- All Implemented Interfaces:
Serializable
Exception thrown when the requested resource is not available for the user performing the
request.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor.UnauthorizedRequestException
(String message) Constructor with a message.UnauthorizedRequestException
(String message, Throwable cause) Constructor with a message and an underlying cause.Constructor with an underlying cause. -
Method Summary
Methods inherited from class org.hawaiiframework.web.exception.HttpException
getHttpStatus
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnauthorizedRequestException
public UnauthorizedRequestException()Default constructor. -
UnauthorizedRequestException
Constructor with a message.- Parameters:
message
- The message to set.
-
UnauthorizedRequestException
Constructor with a message and an underlying cause.- Parameters:
message
- The message to set.cause
- The cause.
-
UnauthorizedRequestException
Constructor with an underlying cause.- Parameters:
cause
- The cause.
-