Class GraphQlClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.graphql.client.GraphQlClientException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- FieldAccessException,- GraphQlTransportException
Base class for exceptions from 
GraphQlClient.- Since:
- 1.0.0
- Author:
- Rossen Stoyanchev
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionGraphQlClientException(String message, Throwable cause, GraphQlRequest request) Constructor with a message, optional cause, and the request details.
- 
Method SummaryModifier and TypeMethodDescriptionReturn the request for which the error occurred.Methods inherited from class org.springframework.core.NestedRuntimeExceptioncontains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
GraphQlClientExceptionConstructor with a message, optional cause, and the request details.- Parameters:
- message- the exception message to use
- cause- the original cause for the client exception
- request- the request that failed
 
 
- 
- 
Method Details- 
getRequestReturn the request for which the error occurred.
 
-