public class NonUniqueDirectiveError extends GraphQLException
| Modifier and Type | Field and Description |
|---|---|
protected static SourceLocation |
NO_WHERE |
| Constructor and Description |
|---|
NonUniqueDirectiveError(TypeDefinition typeDefinition,
EnumValueDefinition enumValueDefinition,
java.lang.String directiveName) |
NonUniqueDirectiveError(TypeDefinition typeDefinition,
FieldDefinition fieldDefinition,
java.lang.String directiveName) |
NonUniqueDirectiveError(TypeDefinition typeDefinition,
InputValueDefinition inputValueDefinition,
java.lang.String directiveName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
ErrorType |
getErrorType() |
java.util.List<SourceLocation> |
getLocations() |
int |
hashCode() |
static java.lang.String |
lineCol(Node node) |
java.lang.String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtensions, getMessage, getPath, toSpecificationprotected static final SourceLocation NO_WHERE
public NonUniqueDirectiveError(TypeDefinition typeDefinition, FieldDefinition fieldDefinition, java.lang.String directiveName)
public NonUniqueDirectiveError(TypeDefinition typeDefinition, InputValueDefinition inputValueDefinition, java.lang.String directiveName)
public NonUniqueDirectiveError(TypeDefinition typeDefinition, EnumValueDefinition enumValueDefinition, java.lang.String directiveName)
public static java.lang.String lineCol(Node node)
public java.util.List<SourceLocation> getLocations()
getLocations in interface GraphQLErrorSourceLocation
describes the beginning of an associated syntax elementpublic ErrorType getErrorType()
getErrorType in interface GraphQLErrorpublic java.lang.String toString()
toString in class java.lang.Throwablepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object