Class MissingRootTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
graphql.GraphQLException
graphql.execution.MissingRootTypeException
- All Implemented Interfaces:
GraphQLError, Serializable
This is thrown if a query is attempting to perform an operation not defined in the GraphQL schema
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface GraphQLError
GraphQLError.Builder<B> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface GraphQLError
getExtensions, getMessage, getPath, toSpecification
-
Field Details
-
sourceLocations
-
-
Constructor Details
-
MissingRootTypeException
-
-
Method Details
-
getLocations
- Specified by:
getLocationsin interfaceGraphQLError- Returns:
- the location(s) within the GraphQL document at which the error occurred. Each
SourceLocationdescribes the beginning of an associated syntax element
-
getErrorType
- Specified by:
getErrorTypein interfaceGraphQLError- Returns:
- an object classifying this error
-