java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.renomad.minum.web.BadRequestException
- All Implemented Interfaces:
Serializable
An exception used for situations where the incoming request has data
that is invalid in some way. The HTTP 400 Bad Request response corresponds
to this situation. This is a catch-all exception for when the server
recognizes invalid data.
This is used in similar places as
This is used in similar places as
ForbiddenUseException,
except that ForbiddenUse is for situations which seem like potential attacks
rather than merely bad input.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBadRequestException(String message) BadRequestException(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BadRequestException
-
BadRequestException
-