Class UnauthorizedException

All Implemented Interfaces:
Serializable

public class UnauthorizedException extends ApplicationException
Access errors caused by missing user identity (authentication error) or incorrect security permissions (authorization error).
See Also:
  • Constructor Details

    • UnauthorizedException

      public UnauthorizedException()
      Creates an error instance and assigns its values.
      See Also:
    • UnauthorizedException

      public UnauthorizedException(String correlationId, String code, String message)
      Creates an error instance and assigns its values.
      Parameters:
      correlationId - (optional) a unique transaction id to trace execution through call chain.
      code - (optional) a unique error code. Default: "UNKNOWN"
      message - (optional) a human-readable description of the error.
      See Also: