Class MethodNotAllowedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.github.damianwajser.exceptions.RestException
com.github.damianwajser.exceptions.impl.badrequest.MethodNotAllowedException
- All Implemented Interfaces:
Serializable
@ResponseStatus(code=METHOD_NOT_ALLOWED) public class MethodNotAllowedException extends RestException
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MethodNotAllowedException(ExceptionDetail detail)MethodNotAllowedException(ExceptionDetail detail, Exception e)MethodNotAllowedException(String errorCode, String errorMessage, Optional<Object> errorDetail)MethodNotAllowedException(String errorCode, String errorMessage, Optional<Object> errorDetail, Exception e)MethodNotAllowedException(List<ExceptionDetail> details)MethodNotAllowedException(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