You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ps...@apache.org on 2007/05/14 08:08:17 UTC
svn commit: r537718 -
/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/ConvergenceException.java
Author: psteitz
Date: Sun May 13 23:08:16 2007
New Revision: 537718
URL: http://svn.apache.org/viewvc?view=rev&rev=537718
Log:
Added back (deprecated) legacy constructors to restore backward compatibility.
Modified:
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/ConvergenceException.java
Modified: jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/ConvergenceException.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/ConvergenceException.java?view=diff&rev=537718&r1=537717&r2=537718
==============================================================================
--- jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/ConvergenceException.java (original)
+++ jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/ConvergenceException.java Sun May 13 23:08:16 2007
@@ -62,5 +62,31 @@
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);
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org