Class GraphQLRequestExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.graphql_java_generator.exception.GraphQLRequestExecutionException
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
GraphQLResponseParseException
public class GraphQLRequestExecutionException
extends java.lang.Exception
Thrown when an error occurs during the request execution. This is typically, when Bind Variable are mission, while
executing a request.
- Author:
- etienne-sf
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description GraphQLRequestExecutionException(java.lang.String msg)
GraphQLRequestExecutionException(java.lang.String msg, java.lang.Throwable cause)
GraphQLRequestExecutionException(java.util.List<java.lang.String> errors)
Generates a new instance, from a non empty and non null list ofGraphQLError
GraphQLRequestExecutionException(java.util.Map<java.lang.String,java.lang.Object> errors)
Generates a new instance, from a non empty and non null list ofGraphQLError
-
Method Summary
-
Constructor Details
-
GraphQLRequestExecutionException
public GraphQLRequestExecutionException(java.lang.String msg) -
GraphQLRequestExecutionException
public GraphQLRequestExecutionException(java.lang.String msg, java.lang.Throwable cause) -
GraphQLRequestExecutionException
public GraphQLRequestExecutionException(java.util.Map<java.lang.String,java.lang.Object> errors)Generates a new instance, from a non empty and non null list ofGraphQLError
- Parameters:
errors
- A map of errors, a specified in the GraphQL specification
-
GraphQLRequestExecutionException
public GraphQLRequestExecutionException(java.util.List<java.lang.String> errors)Generates a new instance, from a non empty and non null list ofGraphQLError
- Parameters:
errors
- A list of GraphQL error messages
-