Class ParseException

    • Field Detail

      • fileName

        public String fileName
    • Constructor Detail

      • ParseException

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

        public ParseException​(String message,
                              Throwable cause)
      • ParseException

        public ParseException​(String message,
                              String newFileName,
                              int newLineNumber,
                              int newCharPos)
        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
        newFileName - filename the error occurred in
        newLineNumber - line number the error occurred at
        newCharPos - character position on the line
      • ParseException

        public ParseException​(String message,
                              String newFileName,
                              int newLineNumber,
                              int newCharPos,
                              Throwable cause)