Exeption thrown when an error occurs evaluating a function.
Maintains an argument property holding the input value that
caused the function evaluation to fail.
version: $Revision: 348519 $ $Date: 2005-11-23 12:12:18 -0700 (Wed, 23 Nov 2005) $
Constructor Summary
public
FunctionEvaluationException(double argument) Construct an exception indicating the argument value
that caused the function evaluation to fail.
getArgument() Returns the function argument that caused this exception.
Constructor Detail
FunctionEvaluationException
public FunctionEvaluationException(double argument)(Code)
Construct an exception indicating the argument value
that caused the function evaluation to fail. Generates an exception
message of the form "Evaluation failed for argument = " + argument.
Parameters: argument - the failing function argument
FunctionEvaluationException
public FunctionEvaluationException(double argument, String message)(Code)
Construct an exception using the given argument and message
text. The message text of the exception will start with
message and be followed by
" Evaluation failed for argument = " + argument.
Parameters: argument - the failing function argument Parameters: message - the exception message text
FunctionEvaluationException
public FunctionEvaluationException(double argument, String message, Throwable cause)(Code)
Construct an exception with the given argument, message and root cause.
The message text of the exception will start with message
and be followed by " Evaluation failed for argument = " + argument.
Parameters: argument - the failing function argument Parameters: message - descriptive error message Parameters: cause - root cause.