Package com.singularsys.jep

# Class ParseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.singularsys.jep.JepException
com.singularsys.jep.ParseException

All Implemented Interfaces:
  `Serializable`

Direct Known Subclasses:
  `GrammarException`

public class ParseException extends JepException
Exception thrown at parse time.

See Also:
  - Serialized Form

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `ParseException`
  `jccpe`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ParseException()`
  `ParseException(String message)`
  `ParseException(String message, int lineNumber, int columnNumber)`
  `ParseException(String message, Throwable cause)`
  `ParseException(Throwable cause)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getColumnNumber()`
  Return the column number where the error occurred, or -1 if not available.
  `int`
  `getLineNumber()`
  Return the line number where the error occurred, or -1 if not available.
  `String`
  `getMessage()`
  `void`
  `setPosition(int lineNum, int colNum)`

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### jccpe

    public ParseException jccpe

- ## Constructor Details

  - ### ParseException

    public ParseException()

  - ### ParseException

    public ParseException(String message)
    Parameters:
      `message` -

  - ### ParseException

    public ParseException(String message, int lineNumber, int columnNumber)

  - ### ParseException

    public ParseException(String message, Throwable cause)
    Parameters:
      `message` -
      `cause` -

  - ### ParseException

    public ParseException(Throwable cause)
    Parameters:
      `cause` -

- ## Method Details

  - ### getLineNumber

    public int getLineNumber()
    Return the line number where the error occurred, or -1 if not available.

  - ### getColumnNumber

    public int getColumnNumber()
    Return the column number where the error occurred, or -1 if not available.

  - ### setPosition

    public void setPosition(int lineNum, int colNum)

  - ### getMessage

    public String getMessage()
    Overrides:
      `getMessage` in class `Throwable`