Class UnauthorizedException

  • All Implemented Interfaces:
    Serializable

    public class UnauthorizedException
    extends RuntimeException
    Throwing this exception will cause FROST-Server to return a 401 Unauthorized. Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.
    Author:
    Hylke van der Schaaf
    See Also:
    Serialized Form
    • Constructor Detail

      • UnauthorizedException

        public UnauthorizedException()
      • UnauthorizedException

        public UnauthorizedException​(String message)
      • UnauthorizedException

        public UnauthorizedException​(Throwable cause)
      • UnauthorizedException

        public UnauthorizedException​(String message,
                                     Throwable cause)