Package io.smallrye.graphql.client
Class GraphQLClientException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.smallrye.graphql.client.GraphQLClientException
-
- All Implemented Interfaces:
Serializable
public class GraphQLClientException extends RuntimeException
Represents a response that contained application-level errors and thus can't be turned into a domain object. Thrown by the typesafe client upon an invocation. This does NOT represent a response that can't be properly parsed, only a response that contains application-level errors.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GraphQLClientException(String message, GraphQLError error)GraphQLClientException(String message, List<GraphQLError> errors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<GraphQLError>getErrors()StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
GraphQLClientException
public GraphQLClientException(String message, GraphQLError error)
-
GraphQLClientException
public GraphQLClientException(String message, List<GraphQLError> errors)
-
-
Method Detail
-
getErrors
public List<GraphQLError> getErrors()
-
-