com.japisoft.formula.node
Class EvaluateException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.japisoft.formula.node.EvaluateException
- All Implemented Interfaces:
- java.io.Serializable
- public class EvaluateException
- extends java.lang.Exception
Evaluation error exception. Something is wrong in the formula generated tree.
It can be bad data, or bad operators usage...
More information at : http://www.japisoft.com
- Version:
- 1.0
- Author:
- (c) 2002-2003 JAPISOFT
- See Also:
Exception
,
Serialized Form
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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EvaluateException
public EvaluateException(java.lang.String cause)
EvaluateException
public EvaluateException(int pos,
java.lang.String cause)
- Parameters:
pos
- Current position in the expressioncause
- What's trouble ?
getPos
public int getPos()
- Returns:
- the current expression error location
setPos
public void setPos(int pos)