@PublicApi public class InvalidSyntaxException extends GraphQLException
Parser
if the graphql syntax is not validModifier | Constructor and Description |
---|---|
protected |
InvalidSyntaxException(java.lang.String msg,
SourceLocation location,
java.lang.String offendingToken,
java.lang.String sourcePreview,
java.lang.Exception cause) |
Modifier and Type | Method and Description |
---|---|
SourceLocation |
getLocation() |
java.lang.String |
getMessage() |
java.lang.String |
getOffendingToken() |
java.lang.String |
getSourcePreview() |
InvalidSyntaxError |
toInvalidSyntaxError() |
protected InvalidSyntaxException(java.lang.String msg, SourceLocation location, java.lang.String offendingToken, java.lang.String sourcePreview, java.lang.Exception cause)
public InvalidSyntaxError toInvalidSyntaxError()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public SourceLocation getLocation()
public java.lang.String getSourcePreview()
public java.lang.String getOffendingToken()