Package graphql.schema.idl.errors
Class NonUniqueNameError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
graphql.GraphQLException
graphql.schema.idl.errors.NonUniqueNameError
- All Implemented Interfaces:
GraphQLError
,Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface graphql.GraphQLError
GraphQLError.Builder<B extends GraphQLError.Builder<B>>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNonUniqueNameError
(DirectiveDefinition typeDefinition, InputValueDefinition inputValueDefinition) NonUniqueNameError
(InputObjectTypeDefinition typeDefinition, InputValueDefinition inputValueDefinition) NonUniqueNameError
(TypeDefinition typeDefinition, EnumValueDefinition enumValueDefinition) NonUniqueNameError
(TypeDefinition typeDefinition, FieldDefinition fieldDefinition) NonUniqueNameError
(TypeDefinition typeDefinition, InputValueDefinition inputValueDefinition) NonUniqueNameError
(UnionTypeDefinition typeDefinition, String memberName) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface graphql.GraphQLError
getExtensions, getMessage, getPath, toSpecification
-
Field Details
-
NO_WHERE
-
-
Constructor Details
-
NonUniqueNameError
-
NonUniqueNameError
-
NonUniqueNameError
public NonUniqueNameError(InputObjectTypeDefinition typeDefinition, InputValueDefinition inputValueDefinition) -
NonUniqueNameError
-
NonUniqueNameError
-
NonUniqueNameError
public NonUniqueNameError(DirectiveDefinition typeDefinition, InputValueDefinition inputValueDefinition)
-
-
Method Details
-
lineCol
-
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
-
toString
-
equals
-
hashCode
public int hashCode()
-