Package com.jsgalactic.axiom.error
Class BadRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.jsgalactic.axiom.error.AxiomException
com.jsgalactic.axiom.error.BadRequestException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DecodeException,MultipartException
A request the server cannot process because it is malformed (400).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates the exception with codebad_request.BadRequestException(String code) Creates the exception with a specific safe code. -
Method Summary
Methods inherited from class com.jsgalactic.axiom.error.AxiomException
code, headers, status, violationsMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BadRequestException
public BadRequestException()Creates the exception with codebad_request. -
BadRequestException
Creates the exception with a specific safe code.- Parameters:
code- machine-readable code
-