Package com.faunadb.client.errors
Class PermissionDeniedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.faunadb.client.errors.FaunaException
-
- com.faunadb.client.errors.PermissionDeniedException
-
- All Implemented Interfaces:
Serializable
public class PermissionDeniedException extends FaunaException
An exception thrown if a HTTP 403 (Forbidden) is returned from FaunaDB.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PermissionDeniedException(HttpResponses.QueryErrorResponse response)
PermissionDeniedException(String message)
-
Method Summary
-
Methods inherited from class com.faunadb.client.errors.FaunaException
constructErrorMessage, errors, status
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PermissionDeniedException
public PermissionDeniedException(HttpResponses.QueryErrorResponse response)
-
PermissionDeniedException
public PermissionDeniedException(String message)
-
-