Package graphql.schema.idl.errors
Class NonUniqueDirectiveError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
graphql.GraphQLException
graphql.schema.idl.errors.NonUniqueDirectiveError
- 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
ConstructorsConstructorDescriptionNonUniqueDirectiveError
(TypeDefinition typeDefinition, EnumValueDefinition enumValueDefinition, String directiveName) NonUniqueDirectiveError
(TypeDefinition typeDefinition, FieldDefinition fieldDefinition, String directiveName) NonUniqueDirectiveError
(TypeDefinition typeDefinition, InputValueDefinition inputValueDefinition, String directiveName) -
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
-
NonUniqueDirectiveError
public NonUniqueDirectiveError(TypeDefinition typeDefinition, FieldDefinition fieldDefinition, String directiveName) -
NonUniqueDirectiveError
public NonUniqueDirectiveError(TypeDefinition typeDefinition, InputValueDefinition inputValueDefinition, String directiveName) -
NonUniqueDirectiveError
public NonUniqueDirectiveError(TypeDefinition typeDefinition, EnumValueDefinition enumValueDefinition, String directiveName)
-
-
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()
-