Fix backported from trunk.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@991166 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gilles Sadowski 2010-08-31 12:08:57 +00:00
parent 2acca0c424
commit 8f52a66d5a
1 changed files with 4 additions and 5 deletions

View File

@ -70,7 +70,7 @@ public class FunctionEvaluationException extends MathException {
*/
public FunctionEvaluationException(double argument,
String pattern, Object ... arguments) {
this(argument, new DummyLocalizable(pattern), argument);
this(argument, new DummyLocalizable(pattern), arguments);
}
/**
@ -97,7 +97,7 @@ public class FunctionEvaluationException extends MathException {
*/
public FunctionEvaluationException(double[] argument,
String pattern, Object ... arguments) {
this(argument, new DummyLocalizable(pattern), argument);
this(argument, new DummyLocalizable(pattern), arguments);
}
/**
@ -150,7 +150,7 @@ public class FunctionEvaluationException extends MathException {
public FunctionEvaluationException(Throwable cause,
double argument, String pattern,
Object ... arguments) {
this(cause, argument, new DummyLocalizable(pattern), argument);
this(cause, argument, new DummyLocalizable(pattern), arguments);
}
/**
@ -181,7 +181,7 @@ public class FunctionEvaluationException extends MathException {
public FunctionEvaluationException(Throwable cause,
double[] argument, String pattern,
Object ... arguments) {
this(cause, argument, new DummyLocalizable(pattern), argument);
this(cause, argument, new DummyLocalizable(pattern), arguments);
}
/**
@ -208,5 +208,4 @@ public class FunctionEvaluationException extends MathException {
public double[] getArgument() {
return argument.clone();
}
}