Package io.helidon.webserver
Class BadRequestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.helidon.webserver.HttpException
-
- io.helidon.webserver.BadRequestException
-
- All Implemented Interfaces:
Serializable
public class BadRequestException extends HttpException
A runtime exception indicating abad request
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadRequestException(String message)
CreatesBadRequestException
.BadRequestException(String message, Throwable cause)
CreatesBadRequestException
.
-
Method Summary
-
Methods inherited from class io.helidon.webserver.HttpException
status
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BadRequestException
public BadRequestException(String message)
CreatesBadRequestException
.- Parameters:
message
- the message
-
BadRequestException
public BadRequestException(String message, Throwable cause)
CreatesBadRequestException
.- Parameters:
message
- the messagecause
- the cause of this exception
-
-