Package graphql.execution
Class InputMapDefinesTooManyFieldsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
graphql.GraphQLException
graphql.execution.InputMapDefinesTooManyFieldsException
- All Implemented Interfaces:
GraphQLError
,Serializable
@PublicApi
public class InputMapDefinesTooManyFieldsException
extends GraphQLException
implements GraphQLError
https://facebook.github.io/graphql/#sec-Input-Objects
- This unordered map should not contain any entries with names not defined by a field of this input object type, otherwise an error should be thrown.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface graphql.GraphQLError
GraphQLError.Builder<B extends GraphQLError.Builder<B>>
-
Constructor Summary
ConstructorsConstructorDescriptionInputMapDefinesTooManyFieldsException
(GraphQLType graphQLType, String fieldName) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface graphql.GraphQLError
getExtensions, getMessage, getPath, toSpecification
-
Constructor Details
-
InputMapDefinesTooManyFieldsException
-
-
Method Details
-
getLocations
- Specified by:
getLocations
in interfaceGraphQLError
- Returns:
- the location(s) within the GraphQL document at which the error occurred. Each
SourceLocation
describes the beginning of an associated syntax element
-
getErrorType
- Specified by:
getErrorType
in interfaceGraphQLError
- Returns:
- an object classifying this error
-