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

    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