Class ParseException

    • Field Detail

      • lineno

        public int lineno
      • cpos

        public int cpos
    • Constructor Detail

      • ParseException

        public ParseException​(String message)
        construct exception with a message
      • ParseException

        public ParseException​(String message,
                              String newFname,
                              int newLineno,
                              int newCpos)
        More explictly construct a parse exception. Resulting message will be :message + " in file '" + newFname +"', line " + newLineno + ", char " + newCpos
        Parameters:
        message - information about the type of error
        newFname - filename the error occurred in
        newLineno - line number the error occurred at
        newCPos - character position on the line