Package snap.parse

Class ParseException

All Implemented Interfaces:
Serializable

public class ParseException extends RuntimeException
An exception subclass for parser.
See Also:
  • Constructor Details

    • ParseException

      public ParseException(Parser aParser, ParseRule aRule)
      Creates a new parse exception.
    • ParseException

      public ParseException(String aMessage)
      Creates a new parse exception for message.
  • Method Details

    • getMessage

      public String getMessage()
      Create message.
      Overrides:
      getMessage in class Throwable
    • createMessage

      protected String createMessage()
      Create message.
    • getCharIndex

      public int getCharIndex()
      Returns the char index.