Class ParseException

All Implemented Interfaces:
Serializable

public class ParseException extends JUMPException
Simple exception class to express problems parsing data.
See Also:
  • Field Details

    • fileName

      public String fileName
  • Constructor Details

    • 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)