Class InvalidResponseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.smallrye.graphql.client.InvalidResponseException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UnexpectedCloseException

public class InvalidResponseException extends RuntimeException
Marks a response that had unexpected contents and the client was unable to properly process it. This can be either due to an error on the server side (returning non-conformant responses), but possibly also due to client-side issues, for example a mismatch between model classes and the schema used on the server.
See Also:
  • Constructor Details

    • InvalidResponseException

      public InvalidResponseException(String message)
    • InvalidResponseException

      public InvalidResponseException(String message, Throwable cause)