public class NonUniqueArgumentError extends GraphQLException
Modifier and Type | Field and Description |
---|---|
protected static SourceLocation |
NO_WHERE |
Constructor and Description |
---|
NonUniqueArgumentError(TypeDefinition typeDefinition,
EnumValueDefinition enumValueDefinition,
java.lang.String argumentName) |
NonUniqueArgumentError(TypeDefinition typeDefinition,
FieldDefinition fieldDefinition,
java.lang.String argumentName) |
NonUniqueArgumentError(TypeDefinition typeDefinition,
InputValueDefinition inputValueDefinition,
java.lang.String argumentName) |
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, setStackTrace
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getExtensions, getMessage, getPath, toSpecification
protected static final SourceLocation NO_WHERE
public NonUniqueArgumentError(TypeDefinition typeDefinition, FieldDefinition fieldDefinition, java.lang.String argumentName)
public NonUniqueArgumentError(TypeDefinition typeDefinition, InputValueDefinition inputValueDefinition, java.lang.String argumentName)
public NonUniqueArgumentError(TypeDefinition typeDefinition, EnumValueDefinition enumValueDefinition, java.lang.String argumentName)
public static java.lang.String lineCol(Node node)
public java.util.List<SourceLocation> getLocations()
getLocations
in interface GraphQLError
SourceLocation
describes the beginning of an associated syntax elementpublic ErrorType getErrorType()
getErrorType
in interface GraphQLError
public java.lang.String toString()
toString
in class java.lang.Throwable
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object