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