Class 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
    • 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
    • Constructor Detail

      • GraphQLResponseParseException

        public GraphQLResponseParseException​(java.lang.String msg)
      • GraphQLResponseParseException

        public GraphQLResponseParseException​(java.lang.String msg,
                                             java.lang.Throwable cause)