Class GraphQLRequestPreparationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.graphql_java_generator.exception.GraphQLRequestPreparationException
All Implemented Interfaces:
Serializable

public class GraphQLRequestPreparationException extends 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:
  • Constructor Details

    • GraphQLRequestPreparationException

      public GraphQLRequestPreparationException(String msg)
    • GraphQLRequestPreparationException

      public GraphQLRequestPreparationException(String msg, Throwable cause)