Class GraphQlTransportException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SubscriptionErrorException, WebSocketDisconnectedException

public class GraphQlTransportException extends GraphQlClientException
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 Details

    • GraphQlTransportException

      public GraphQlTransportException(@Nullable Throwable cause, GraphQlRequest request)
      Constructor with a default message.
      Parameters:
      cause - the original cause of the transport error
      request - the request that failed at the transport level
    • GraphQlTransportException

      public GraphQlTransportException(String message, @Nullable Throwable cause, GraphQlRequest request)
      Constructor with a given message.
      Parameters:
      message - the exception message to use
      cause - the original cause of the transport error
      request - the request that failed at the transport level