Class GraphQlTransportException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.graphql.client.GraphQlClientException
org.springframework.graphql.client.GraphQlTransportException
- All Implemented Interfaces:
 Serializable
- Direct Known Subclasses:
 SubscriptionErrorException,WebSocketDisconnectedException
Exception raised by a 
GraphQlTransport or used to wrap an exception
 from a GraphQlTransport implementation.- Since:
 - 1.0.0
 - Author:
 - Rossen Stoyanchev
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionGraphQlTransportException(String message, Throwable cause, GraphQlRequest request) Constructor with a given message.GraphQlTransportException(Throwable cause, GraphQlRequest request) Constructor with a default message. - 
Method Summary
Methods inherited from class org.springframework.graphql.client.GraphQlClientException
getRequestMethods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
GraphQlTransportException
Constructor with a default message.- Parameters:
 cause- the original cause of the transport errorrequest- the request that failed at the transport level
 - 
GraphQlTransportException
Constructor with a given message.- Parameters:
 message- the exception message to usecause- the original cause of the transport errorrequest- the request that failed at the transport level
 
 -