de.uni_tuebingen.sfb.lichtenstein.exceptions
Class LispFormulaParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.text.ParseException
              extended by de.uni_tuebingen.sfb.lichtenstein.exceptions.LispFormulaParseException
All Implemented Interfaces:
Serializable

public class LispFormulaParseException
extends ParseException

An exception indicating something went wrong when parsing the formula.

Author:
Hendrik Maryns
See Also:
Serialized Form

Constructor Summary
LispFormulaParseException(String message, int errorOffset, String formula)
          Construct a new LispFormulaParseException.
 
Method Summary
 String getFormula()
          Get the offending formula.
 
Methods inherited from class java.text.ParseException
getErrorOffset
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LispFormulaParseException

public LispFormulaParseException(String message,
                                 int errorOffset,
                                 String formula)
Construct a new LispFormulaParseException.

Parameters:
message - The error message.
errorOffset - The offset at which the error occurred.
formula - The formula that caused the exception.
Method Detail

getFormula

public String getFormula()
Get the offending formula.

Returns:
The offending formula.


© Copyright 2008 Hendrik Maryns   Creative Commons License