Class UnauthorizedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.http.HttpException
io.helidon.http.UnauthorizedException
- All Implemented Interfaces:
Serializable
A runtime exception indicating a
unauthorized.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnauthorizedException(String message) CreatesUnauthorizedException.UnauthorizedException(String message, Throwable cause) CreatesUnauthorizedException. -
Method Summary
Methods inherited from class HttpException
header, headers, keepAlive, statusModifier and TypeMethodDescriptionSet a response header that should be used if this exception is not handled.headers()Headers as currently configured in this exception.booleanWhether we should attempt to keep the connection alive (if enabled for it).final Statusstatus()Obtain the associated http status.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnauthorizedException
CreatesUnauthorizedException.- Parameters:
message- the message
-
UnauthorizedException
CreatesUnauthorizedException.- Parameters:
message- the messagecause- the cause of this exception
-