Package graphql.schema.idl.errors
Class OperationRedefinitionError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
graphql.GraphQLException
graphql.schema.idl.errors.OperationRedefinitionError
- 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
ConstructorsConstructorDescriptionOperationRedefinitionError
(OperationTypeDefinition oldEntry, OperationTypeDefinition newEntry) -
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
-
OperationRedefinitionError
public OperationRedefinitionError(OperationTypeDefinition oldEntry, OperationTypeDefinition newEntry)
-
-
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()
-