Class GraphQLResponseParseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.graphql_java_generator.exception.GraphQLRequestExecutionException
com.graphql_java_generator.exception.GraphQLResponseParseException
All Implemented Interfaces:
java.io.Serializable

public class GraphQLResponseParseException
extends GraphQLRequestExecutionException
Thrown when the client could not parse the GraphQL response. This response is sent when the client can't understand the response, which is usually the client fault.
To debug this, the client should be put in trace mode, and the raw response should be checked against the QueryExecutorImpl_Forum_Test#parseResponseForStarWarsSchema(String, String, graphql.java.client.request.ObjectResponse) method.
Author:
etienne-sf
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    GraphQLResponseParseException​(java.lang.String msg)  
    GraphQLResponseParseException​(java.lang.String msg, java.lang.Throwable cause)  
  • Method Summary

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait