Package vaultWeb.exceptions
Class UnauthorizedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
vaultWeb.exceptions.UnauthorizedException
- All Implemented Interfaces:
Serializable
Thrown when a user attempts to perform an action they are not authorized to perform.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnauthorizedException(String message) Constructs an UnauthorizedException 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
-
UnauthorizedException
Constructs an UnauthorizedException with the specified detail message.- Parameters:
message- the detail message explaining the reason for the exception
-