@PublicApi public class NonNullableValueCoercedAsNullException extends GraphQLException implements GraphQLError
| Constructor and Description |
|---|
NonNullableValueCoercedAsNullException(GraphQLInputObjectField inputTypeField) |
NonNullableValueCoercedAsNullException(GraphQLInputObjectField inputTypeField,
java.util.List<java.lang.Object> path) |
NonNullableValueCoercedAsNullException(java.lang.String fieldName,
java.util.List<java.lang.Object> path,
GraphQLType graphQLType) |
NonNullableValueCoercedAsNullException(VariableDefinition variableDefinition,
GraphQLType graphQLType) |
NonNullableValueCoercedAsNullException(VariableDefinition variableDefinition,
java.lang.String fieldName,
GraphQLType graphQLType) |
NonNullableValueCoercedAsNullException(VariableDefinition variableDefinition,
java.lang.String fieldName,
java.util.List<java.lang.Object> path,
GraphQLType graphQLType) |
| Modifier and Type | Method and Description |
|---|---|
ErrorType |
getErrorType() |
java.util.List<SourceLocation> |
getLocations() |
java.util.List<java.lang.Object> |
getPath()
The graphql spec says that the (optional) path field of any error should be a list
of path entries - http://facebook.github.io/graphql/#sec-Errors
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtensions, getMessage, toSpecificationpublic NonNullableValueCoercedAsNullException(VariableDefinition variableDefinition, GraphQLType graphQLType)
public NonNullableValueCoercedAsNullException(VariableDefinition variableDefinition, java.lang.String fieldName, GraphQLType graphQLType)
public NonNullableValueCoercedAsNullException(VariableDefinition variableDefinition, java.lang.String fieldName, java.util.List<java.lang.Object> path, GraphQLType graphQLType)
public NonNullableValueCoercedAsNullException(java.lang.String fieldName,
java.util.List<java.lang.Object> path,
GraphQLType graphQLType)
public NonNullableValueCoercedAsNullException(GraphQLInputObjectField inputTypeField)
public NonNullableValueCoercedAsNullException(GraphQLInputObjectField inputTypeField, java.util.List<java.lang.Object> path)
public java.util.List<SourceLocation> getLocations()
getLocations in interface GraphQLErrorSourceLocation
describes the beginning of an associated syntax elementpublic java.util.List<java.lang.Object> getPath()
GraphQLErrorgetPath in interface GraphQLErrorpublic ErrorType getErrorType()
getErrorType in interface GraphQLError