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