Package com.faunadb.client.errors
Class BadRequestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.faunadb.client.errors.FaunaException
-
- com.faunadb.client.errors.BadRequestException
-
- All Implemented Interfaces:
Serializable
public class BadRequestException extends FaunaException
An exception thrown if FaunaDB cannot evaluate a query.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadRequestException(HttpResponses.QueryErrorResponse response)
BadRequestException(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
-
BadRequestException
public BadRequestException(HttpResponses.QueryErrorResponse response)
-
BadRequestException
public BadRequestException(String message)
-
-