|
||||||||||
| 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
public class FunctionEvaluationException
Exception 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)
Construct an exception indicating the argument value that caused the function evaluation to fail. |
|
FunctionEvaluationException(double[] argument,
String pattern,
Object... arguments)
Constructs an exception with specified formatted detail message. |
|
FunctionEvaluationException(double argument,
String pattern,
Object... arguments)
Constructs an exception with specified formatted detail message. |
|
FunctionEvaluationException(Throwable cause,
double argument)
Constructs an exception with specified root cause. |
|
FunctionEvaluationException(Throwable cause,
double[] argument)
Constructs an exception with specified root cause. |
|
FunctionEvaluationException(Throwable cause,
double[] argument,
String pattern,
Object... arguments)
Constructs an exception with specified formatted detail message and root cause. |
|
FunctionEvaluationException(Throwable cause,
double argument,
String pattern,
Object... arguments)
Constructs an exception with specified formatted detail 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 |
|---|
getArguments, getLocalizedMessage, getMessage, getMessage, getPattern, printStackTrace, printStackTrace |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, 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 argumentpublic FunctionEvaluationException(double[] argument)
argument - the failing function argument
public FunctionEvaluationException(double argument,
String pattern,
Object... arguments)
MessageFormat.
argument - the failing function argumentpattern - format specifierarguments - format arguments
public FunctionEvaluationException(double[] argument,
String pattern,
Object... arguments)
MessageFormat.
argument - the failing function argumentpattern - format specifierarguments - format arguments
public FunctionEvaluationException(Throwable cause,
double argument)
MessageFormat.
cause - the exception or error that caused this exception to be thrownargument - the failing function argument
public FunctionEvaluationException(Throwable cause,
double[] argument)
MessageFormat.
cause - the exception or error that caused this exception to be thrownargument - the failing function argument
public FunctionEvaluationException(Throwable cause,
double argument,
String pattern,
Object... arguments)
MessageFormat.
cause - the exception or error that caused this exception to be thrownargument - the failing function argumentpattern - format specifierarguments - format arguments
public FunctionEvaluationException(Throwable cause,
double[] argument,
String pattern,
Object... arguments)
MessageFormat.
cause - the exception or error that caused this exception to be thrownargument - the failing function argumentpattern - format specifierarguments - format arguments| Method Detail |
|---|
public double[] getArgument()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||