Package graphql.parser
Class InvalidSyntaxException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
graphql.GraphQLException
graphql.parser.InvalidSyntaxException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidUnicodeSyntaxException
,MoreTokensSyntaxException
,ParseCancelledException
,ParseCancelledTooDeepException
,ParseCancelledTooManyCharsException
This exception is thrown by the
Parser
if the graphql syntax is not valid- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
InvalidSyntaxException
(String msg, SourceLocation location, String offendingToken, String sourcePreview, Exception cause) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidSyntaxException
protected InvalidSyntaxException(String msg, SourceLocation location, String offendingToken, String sourcePreview, Exception cause)
-
-
Method Details
-
toInvalidSyntaxError
-
getMessage
- Overrides:
getMessage
in classThrowable
-
getLocation
-
getSourcePreview
-
getOffendingToken
-