Class BadRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.github.damianwajser.exceptions.RestException
com.github.damianwajser.exceptions.impl.badrequest.BadRequestException
- All Implemented Interfaces:
Serializable
@ResponseStatus(code=BAD_REQUEST) public class BadRequestException extends RestException
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BadRequestException(ExceptionDetail detail)BadRequestException(ExceptionDetail detail, Exception e)BadRequestException(String errorCode, String errorMessage, Optional<Object> errorDetail)BadRequestException(String errorCode, String errorMessage, Optional<Object> errorDetail, Exception e)BadRequestException(List<ExceptionDetail> details)BadRequestException(List<ExceptionDetail> details, Exception e) -
Method Summary
Methods inherited from class com.github.damianwajser.exceptions.RestException
getDetails, getErrorMessage, getHttpCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString