Class InvalidSyntaxException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidUnicodeSyntaxException, MoreTokensSyntaxException, ParseCancelledException, ParseCancelledTooDeepException, ParseCancelledTooManyCharsException

@PublicApi public class InvalidSyntaxException extends GraphQLException
This exception is thrown by the Parser if the graphql syntax is not valid
See Also:
  • Field Details

    • message

      private final String message
    • sourcePreview

      private final String sourcePreview
    • offendingToken

      private final String offendingToken
    • location

      private final SourceLocation location
  • Constructor Details

  • Method Details