Class ParseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ParseException
    extends java.lang.Exception
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ParseException()  
      ParseException​(java.lang.String message)  
      ParseException​(Token currentTokenVal, int[][] expectedTokenSequencesVal, java.lang.String[] tokenImageVal)  
    • Method Summary

      Modifier and Type Method Description
      (package private) static java.lang.String add_escapes​(java.lang.String str)  
      private static java.lang.String initialise​(Token currentToken, int[][] expectedTokenSequences, java.lang.String[] tokenImage)  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • currentToken

        public Token currentToken
      • expectedTokenSequences

        public int[][] expectedTokenSequences
      • tokenImage

        public java.lang.String[] tokenImage
      • eol

        protected java.lang.String eol
    • Constructor Detail

      • ParseException

        public ParseException​(Token currentTokenVal,
                              int[][] expectedTokenSequencesVal,
                              java.lang.String[] tokenImageVal)
      • ParseException

        public ParseException()
      • ParseException

        public ParseException​(java.lang.String message)
    • Method Detail

      • initialise

        private static java.lang.String initialise​(Token currentToken,
                                                   int[][] expectedTokenSequences,
                                                   java.lang.String[] tokenImage)
      • add_escapes

        static java.lang.String add_escapes​(java.lang.String str)