Module io.jooby

Class UnauthorizedException

All Implemented Interfaces:
Serializable

public class UnauthorizedException extends StatusCodeException
Specific error for unauthorized access.
Since:
2.4.1
Author:
edgar
See Also:
  • Constructor Details

    • UnauthorizedException

      public UnauthorizedException(@Nullable String message)
      Creates an unauthorized exception.
      Parameters:
      message - Message. Optional.
    • UnauthorizedException

      public UnauthorizedException()
      Creates an unauthorized exception.