Class ForbiddenException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.fraunhofer.iosb.ilt.frostserver.util.exception.ForbiddenException
All Implemented Interfaces:
Serializable

public class ForbiddenException extends RuntimeException
Throwing this exception will cause FROST-Server to return a 403 Forbidden. The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource or needing an account of some sort, or attempting a prohibited action (e.g. creating a duplicate record where only one is allowed). This code is also typically used if the request provided authentication by answering the WWW-Authenticate header field challenge, but the server did not accept that authentication. The request should not be repeated.
Author:
Hylke van der Schaaf
See Also:
  • Constructor Details

    • ForbiddenException

      public ForbiddenException()
    • ForbiddenException

      public ForbiddenException(String message)
    • ForbiddenException

      public ForbiddenException(Throwable cause)
    • ForbiddenException

      public ForbiddenException(String message, Throwable cause)