Class BadRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.http.HttpException
io.helidon.http.BadRequestException
- All Implemented Interfaces:
Serializable
A runtime exception indicating a
bad request.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBadRequestException(String message) CreatesBadRequestException.BadRequestException(String message, Throwable cause) CreatesBadRequestException. -
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
-
BadRequestException
CreatesBadRequestException.- Parameters:
message- the message
-
BadRequestException
CreatesBadRequestException.- Parameters:
message- the messagecause- the cause of this exception
-