Class UnauthorizedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.fraunhofer.iosb.ilt.frostserver.util.exception.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:
  • Constructor Details

    • UnauthorizedException

      public UnauthorizedException()
    • UnauthorizedException

      public UnauthorizedException(String message)
    • UnauthorizedException

      public UnauthorizedException(Throwable cause)
    • UnauthorizedException

      public UnauthorizedException(String message, Throwable cause)