public class ValidationError extends Object implements GraphQLError
Constructor and Description |
---|
ValidationError(ValidationErrorType validationErrorType) |
ValidationError(ValidationErrorType validationErrorType,
List<SourceLocation> sourceLocations,
String description) |
ValidationError(ValidationErrorType validationErrorType,
List<SourceLocation> sourceLocations,
String description,
List<String> queryPath) |
ValidationError(ValidationErrorType validationErrorType,
SourceLocation sourceLocation,
String description) |
ValidationError(ValidationErrorType validationErrorType,
SourceLocation sourceLocation,
String description,
List<String> queryPath) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDescription() |
ErrorType |
getErrorType() |
List<SourceLocation> |
getLocations() |
String |
getMessage() |
List<String> |
getQueryPath() |
ValidationErrorType |
getValidationErrorType() |
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getExtensions, getPath, toSpecification
public ValidationError(ValidationErrorType validationErrorType)
public ValidationError(ValidationErrorType validationErrorType, SourceLocation sourceLocation, String description)
public ValidationError(ValidationErrorType validationErrorType, SourceLocation sourceLocation, String description, List<String> queryPath)
public ValidationError(ValidationErrorType validationErrorType, List<SourceLocation> sourceLocations, String description)
public ValidationError(ValidationErrorType validationErrorType, List<SourceLocation> sourceLocations, String description, List<String> queryPath)
public ValidationErrorType getValidationErrorType()
public String getMessage()
getMessage
in interface GraphQLError
public String getDescription()
public List<SourceLocation> getLocations()
getLocations
in interface GraphQLError
SourceLocation
describes the beginning of an associated syntax elementpublic ErrorType getErrorType()
getErrorType
in interface GraphQLError
Copyright © 2019. All rights reserved.