Class ParseException

  • All Implemented Interfaces:
    Serializable

    public class ParseException
    extends Exception
    Exception indicating a parsing error. An explanation of the error is provided. If the source file being parsed is known, it is also provided.
    See Also:
    Serialized Form
    • Constructor Detail

      • ParseException

        public ParseException()
        Create a parse error with no information provided.
      • ParseException

        public ParseException​(String message)
        Create a parse error with the specified message.
        Parameters:
        message - an explanation of the error
      • ParseException

        public ParseException​(String message,
                              String filePath)
        Create a parse error with the specified message.
        Parameters:
        message - an explanation of the error
        filePath - the file which was being parsed