Class ParsingExceptionImpl

All Implemented Interfaces:
Serializable

@Internal public class ParsingExceptionImpl extends ParsingException
An exception that happens while parsing.
Since:
4.10.0
See Also:
  • Constructor Details

    • ParsingExceptionImpl

      public ParsingExceptionImpl(String message, @Nullable String originalText, Token... tokens)
      Create a new parsing exception.
      Parameters:
      message - the detail message
      originalText - the original text which was parsed
      tokens - the token which caused the error
      Since:
      4.10.0
    • ParsingExceptionImpl

      public ParsingExceptionImpl(String message, @Nullable String originalText, @Nullable Throwable cause, boolean withStackTrace, Token... tokens)
      Create a new parsing exception.
      Parameters:
      message - the detail message
      originalText - the original text which was parsed
      cause - the cause
      withStackTrace - whether to generate a stacktrace
      tokens - the token which caused the error
      Since:
      4.10.0
  • Method Details