|
||||||||||
| 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,
java.lang.String message)
Deprecated. as of 1.2, replaced by FunctionEvaluationException(double, String, Object[]) |
|
FunctionEvaluationException(double argument,
java.lang.String pattern,
java.lang.Object[] arguments)
Constructs an exception with specified formatted detail message. |
|
FunctionEvaluationException(double argument,
java.lang.String pattern,
java.lang.Object[] arguments,
java.lang.Throwable cause)
Constructs an exception with specified formatted detail message and root cause. |
|
FunctionEvaluationException(double argument,
java.lang.String message,
java.lang.Throwable cause)
Deprecated. as of 1.2, replaced by FunctionEvaluationException(double, String, Object[], Throwable) |
|
FunctionEvaluationException(double argument,
java.lang.Throwable cause)
Constructs an exception with specified root cause. |
|
| Method Summary | |
|---|---|
double |
getArgument()
Returns the function argument that caused this exception. |
| Methods inherited from class org.apache.commons.math.MathException |
|---|
getArguments, getCause, getMessage, getPattern, 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,
java.lang.String message)
FunctionEvaluationException(double, String, Object[])
argument - the failing function argumentmessage - the exception message text
public FunctionEvaluationException(double argument,
java.lang.String pattern,
java.lang.Object[] arguments)
MessageFormat.
argument - the failing function argumentpattern - format specifierarguments - format arguments
public FunctionEvaluationException(double argument,
java.lang.String message,
java.lang.Throwable cause)
FunctionEvaluationException(double, String, Object[], Throwable)
argument - the failing function argumentmessage - descriptive error messagecause - root cause.
public FunctionEvaluationException(double argument,
java.lang.Throwable cause)
MessageFormat.
argument - the failing function argumentcause - the exception or error that caused this exception to be thrown
public FunctionEvaluationException(double argument,
java.lang.String pattern,
java.lang.Object[] arguments,
java.lang.Throwable cause)
MessageFormat.
argument - the failing function argumentpattern - format specifierarguments - format argumentscause - the exception or error that caused this exception to be thrown| Method Detail |
|---|
public double getArgument()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||