Class UnauthorizedException

All Implemented Interfaces:
Serializable

public class UnauthorizedException extends RuntimeException
Thrown when a user attempts to perform an action they are not authorized to perform.
See Also:
  • Constructor Details

    • UnauthorizedException

      public UnauthorizedException(String message)
      Constructs an UnauthorizedException with the specified detail message.
      Parameters:
      message - the detail message explaining the reason for the exception