Package dev.voidframework.web.exception
Class HttpException.BadRequest
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.voidframework.web.exception.HttpException
dev.voidframework.web.exception.HttpException.BadRequest
- All Implemented Interfaces:
Serializable
- Enclosing class:
- HttpException
Exception indicates that provided request is invalid.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class dev.voidframework.web.exception.HttpException
HttpException.BadRequest, HttpException.InternalServerError, HttpException.NotFound -
Constructor Summary
ConstructorsConstructorDescriptionBuild a new instance.BadRequest(String message) Build a new instance.BadRequest(String message, Throwable cause) Build a new instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BadRequest
public BadRequest()Build a new instance. -
BadRequest
Build a new instance.- Parameters:
message- The provided message
-
BadRequest
Build a new instance.- Parameters:
message- The provided messagecause- The cause
-