Package antlr

Class MismatchedTokenException

All Implemented Interfaces:
Serializable

public class MismatchedTokenException extends RecognitionException
See Also:
  • Field Details

  • Constructor Details

    • MismatchedTokenException

      public MismatchedTokenException()
      Looking for AST wildcard, didn't find it
    • MismatchedTokenException

      public MismatchedTokenException(String[] tokenNames_, AST node_, int lower, int upper_, boolean matchNot)
    • MismatchedTokenException

      public MismatchedTokenException(String[] tokenNames_, AST node_, int expecting_, boolean matchNot)
    • MismatchedTokenException

      public MismatchedTokenException(String[] tokenNames_, AST node_, BitSet set_, boolean matchNot)
    • MismatchedTokenException

      public MismatchedTokenException(String[] tokenNames_, Token token_, int lower, int upper_, boolean matchNot, String fileName_)
    • MismatchedTokenException

      public MismatchedTokenException(String[] tokenNames_, Token token_, int expecting_, boolean matchNot, String fileName_)
    • MismatchedTokenException

      public MismatchedTokenException(String[] tokenNames_, Token token_, BitSet set_, boolean matchNot, String fileName_)
  • Method Details

    • getMessage

      public String getMessage()
      Returns a clean error message (no line number/column information)
      Overrides:
      getMessage in class Throwable