Added back (deprecated) legacy constructors to restore backward compatibility.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@537718 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Phil Steitz 2007-05-14 06:08:16 +00:00
parent 42a78122d1
commit fe13c2bcfa
1 changed files with 26 additions and 0 deletions

View File

@ -62,5 +62,31 @@ public class ConvergenceException extends MathException {
public ConvergenceException(String pattern, Object[] arguments, Throwable cause) {
super(pattern, arguments, cause);
}
/**
* Constructs a new <code>ConvergenceException</code> with specified
* detail message and nested <code>Throwable</code> root cause.
*
* @param msg the error message.
* @param rootCause the exception or error that caused this exception
* to be thrown.
* @deprecated as of 1.2, replaced by
* {@link #ConvergenceException(String, Object[], Throwable)}
*/
public ConvergenceException(String msg, Throwable rootCause) {
super(msg, rootCause);
}
/**
* Constructs a new <code>ConvergenceException</code> with specified
* detail message.
*
* @param msg the error message.
* @deprecated as of 1.2, replaced by
* {@link #ConvergenceException(String, Object[])}
*/
public ConvergenceException(String msg) {
super(msg);
}
}