|
||||||||||
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.
Field Summary | |
---|---|
private double |
argument
Argument causing function evaluation failure |
private static long |
serialVersionUID
Serializable version identifier. |
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 |
Field Detail |
---|
private static final long serialVersionUID
private double argument
Constructor Detail |
---|
public FunctionEvaluationException(double argument)
argument
- the failing function argumentpublic FunctionEvaluationException(double argument, java.lang.String message)
FunctionEvaluationException(double, String, Object[])
argument
- the failing function argumentmessage
- the exception message textpublic FunctionEvaluationException(double argument, java.lang.String pattern, java.lang.Object[] arguments)
MessageFormat
.
argument
- the failing function argumentpattern
- format specifierarguments
- format argumentspublic 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 thrownpublic 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 thrownMethod Detail |
---|
public double getArgument()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |