Package com.faunadb.client.errors
Class InternalException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.faunadb.client.errors.FaunaException
-
- com.faunadb.client.errors.InternalException
-
- All Implemented Interfaces:
Serializable
public class InternalException extends FaunaException
An exception thrown if a HTTP 500 (Internal Server Error) occurs when making a request to FaunaDB. Such errors represent an internal failure within the database.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InternalException(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
-
InternalException
public InternalException(HttpResponses.QueryErrorResponse response)
-
-