net.sf.basedb.util.jep
Class FunctionSafeJep.UnknownFunction
java.lang.Object
net.sf.basedb.util.jep.FunctionSafeJep.UnknownFunction
- All Implemented Interfaces:
- Serializable, org.nfunk.jep.function.PostfixMathCommandI
- Enclosing class:
- FunctionSafeJep
static class FunctionSafeJep.UnknownFunction
- extends Object
- implements org.nfunk.jep.function.PostfixMathCommandI, Serializable
Represents an unknown function that appears in an expression.
The error is usually catched at parse time, otherwise it will
be catched at evaluation time by this class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
name
private final String name
FunctionSafeJep.UnknownFunction
FunctionSafeJep.UnknownFunction(String name)
checkNumberOfParameters
public boolean checkNumberOfParameters(int numParameters)
- Specified by:
checkNumberOfParameters
in interface org.nfunk.jep.function.PostfixMathCommandI
getNumberOfParameters
public int getNumberOfParameters()
- Specified by:
getNumberOfParameters
in interface org.nfunk.jep.function.PostfixMathCommandI
run
public void run(Stack paramStack)
throws ParseException
- Specified by:
run
in interface org.nfunk.jep.function.PostfixMathCommandI
- Throws:
ParseException
setCurNumberOfParameters
public void setCurNumberOfParameters(int numParameters)
- Specified by:
setCurNumberOfParameters
in interface org.nfunk.jep.function.PostfixMathCommandI