Package com.faunadb.client.errors
Class UnauthorizedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.faunadb.client.errors.FaunaException
-
- com.faunadb.client.errors.UnauthorizedException
-
- All Implemented Interfaces:
Serializable
public class UnauthorizedException extends FaunaException
An exception thrown if FaunaDB responds with an HTTP 401 (Unauthorized).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnauthorizedException(HttpResponses.QueryErrorResponse response)
-
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
-
UnauthorizedException
public UnauthorizedException(HttpResponses.QueryErrorResponse response)
-
-