org.shiftone.bigcalc.math.function
Class TryCatchFunction

java.lang.Object
  extended byorg.shiftone.bigcalc.math.function.TryCatchFunction
All Implemented Interfaces:
Function, Functor, MathConstants

public class TryCatchFunction
extends java.lang.Object
implements Function, MathConstants


Field Summary
 
Fields inherited from interface org.shiftone.bigcalc.math.MathConstants
BD_239, FIVE, FOUR, I_TWO, ONE, TWO, ZERO
 
Constructor Summary
TryCatchFunction()
           
 
Method Summary
 java.lang.Object evaluate(Context context)
           
 void print(java.lang.StringBuffer sb, Context context)
           
 void setArguments(FunctorList arguments)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TryCatchFunction

public TryCatchFunction()
Method Detail

setArguments

public void setArguments(FunctorList arguments)
                  throws java.lang.Exception
Specified by:
setArguments in interface Function
Throws:
java.lang.Exception

evaluate

public java.lang.Object evaluate(Context context)
                          throws java.lang.Exception
Specified by:
evaluate in interface Functor
Throws:
java.lang.Exception

print

public void print(java.lang.StringBuffer sb,
                  Context context)
           throws java.lang.Exception
Specified by:
print in interface Functor
Throws:
java.lang.Exception