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