Package passport.domain.exceptions
Class PermissionDenied
java.lang.Object
java.lang.Throwable
java.lang.Exception
passport.domain.exceptions.PermissionDenied
- All Implemented Interfaces:
Serializable
Exception thrown when a user attempts to perform an operation without the
necessary permissions.
- See Also:
-
Constructor Summary
ConstructorDescriptionPermissionDenied
(String msg) Constructs a new PermissionDenied exception with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PermissionDenied
Constructs a new PermissionDenied exception with the specified detail message.- Parameters:
msg
- the detail message
-