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
public class UnauthorizedRequestException extends HttpException
Exception thrown when the requested resource is not available for the user performing the request.- Author:
- Rutger Lubbers
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnauthorizedRequestException()
Default constructor.UnauthorizedRequestException(String message)
Constructor with a message.UnauthorizedRequestException(String message, Throwable cause)
Constructor with a message and an underlying cause.UnauthorizedRequestException(Throwable 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 Detail
-
UnauthorizedRequestException
public UnauthorizedRequestException()
Default constructor.
-
UnauthorizedRequestException
public UnauthorizedRequestException(String message)
Constructor with a message.- Parameters:
message
- The message to set.
-
UnauthorizedRequestException
public UnauthorizedRequestException(String message, Throwable cause)
Constructor with a message and an underlying cause.- Parameters:
message
- The message to set.cause
- The cause.
-
UnauthorizedRequestException
public UnauthorizedRequestException(Throwable cause)
Constructor with an underlying cause.- Parameters:
cause
- The cause.
-
-