|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.commons.math.MathException
org.apache.commons.math.FunctionEvaluationException
Exeption thrown when an error occurs evaluating a function.
Maintains an argument property holding the input value that
caused the function evaluation to fail.
| Constructor Summary | |
FunctionEvaluationException(double argument)
Construct an exception indicating the argument value that caused the function evaluation to fail. |
|
FunctionEvaluationException(double argument,
String message)
Construct an exception using the given argument and message text. |
|
FunctionEvaluationException(double argument,
String message,
Throwable cause)
Construct an exception with the given argument, message and root cause. |
|
| Method Summary | |
double |
getArgument()
Returns the function argument that caused this exception. |
| Methods inherited from class org.apache.commons.math.MathException |
getCause, printStackTrace, printStackTrace, printStackTrace |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FunctionEvaluationException(double argument)
argument - the failing function argument
public FunctionEvaluationException(double argument,
String message)
message and be followed by
" Evaluation failed for argument = " + argument.
argument - the failing function argumentmessage - the exception message text
public FunctionEvaluationException(double argument,
String message,
Throwable cause)
message
and be followed by " Evaluation failed for argument = " + argument.
argument - the failing function argumentmessage - descriptive error messagecause - root cause.| Method Detail |
public double getArgument()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||