Class ParsingException

All Implemented Interfaces:
Serializable

public class ParsingException extends RuntimeException
An exception representing a problem during parsing of text.
Author:
Randall Hauch
See Also:
  • Field Details

  • Constructor Details

    • ParsingException

      public ParsingException(Position position)
      Parameters:
      position - the position of the error; never null
    • ParsingException

      public ParsingException(Position position, String message, Throwable cause)
      Parameters:
      position - the position of the error; never null
      message - the message
      cause - the underlying cause
    • ParsingException

      public ParsingException(Position position, String message)
      Parameters:
      position - the position of the error; never null
      message - the message
  • Method Details

    • getPosition

      public Position getPosition()