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
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 Summary
ConstructorsConstructorDescriptionForbiddenException(String message) ForbiddenException(String message, Throwable cause) ForbiddenException(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ForbiddenException
public ForbiddenException() -
ForbiddenException
-
ForbiddenException
-
ForbiddenException
-