Class GraphQLRequestPreparationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.graphql_java_generator.exception.GraphQLRequestPreparationException
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
GraphQLInternalErrorException
public class GraphQLRequestPreparationException
extends java.lang.Exception
Thrown when an error occurs during the request preparation. This is typically, when the
Builder
is called
with invalid values (non existing fields, field from other objects...) or when a call to a query is attempted with a
ObjectResponse build for another GraphQL type (for client mode)- Author:
- etienne-sf
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description GraphQLRequestPreparationException(java.lang.String msg)
GraphQLRequestPreparationException(java.lang.String msg, java.lang.Throwable cause)
-
Method Summary
-
Constructor Details
-
GraphQLRequestPreparationException
public GraphQLRequestPreparationException(java.lang.String msg) -
GraphQLRequestPreparationException
public GraphQLRequestPreparationException(java.lang.String msg, java.lang.Throwable cause)
-