You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2010/09/11 19:19:54 UTC
svn commit: r996179 - in /commons/proper/math/trunk/src:
main/java/org/apache/commons/math/MathRuntimeException.java
site/xdoc/changes.xml
Author: luc
Date: Sat Sep 11 17:19:54 2010
New Revision: 996179
URL: http://svn.apache.org/viewvc?rev=996179&view=rev
Log:
Fixed lost cause in MathRuntimeException.createInternalError
JIRA: MATH-415
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math/MathRuntimeException.java
commons/proper/math/trunk/src/site/xdoc/changes.xml
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/MathRuntimeException.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/MathRuntimeException.java?rev=996179&r1=996178&r2=996179&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/MathRuntimeException.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/MathRuntimeException.java Sat Sep 11 17:19:54 2010
@@ -684,7 +684,7 @@ public class MathRuntimeException extend
final String argument = "https://issues.apache.org/jira/browse/MATH";
- return new RuntimeException() {
+ return new RuntimeException(cause) {
/** Serializable version identifier. */
private static final long serialVersionUID = -201865440834027016L;
Modified: commons/proper/math/trunk/src/site/xdoc/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/site/xdoc/changes.xml?rev=996179&r1=996178&r2=996179&view=diff
==============================================================================
--- commons/proper/math/trunk/src/site/xdoc/changes.xml (original)
+++ commons/proper/math/trunk/src/site/xdoc/changes.xml Sat Sep 11 17:19:54 2010
@@ -71,6 +71,11 @@ The <action> type attribute can be add,u
</action>
</release>
<release version="2.2" date="TBD" description="TBD">
+ <action dev="luc" type="fix" issue="MATH-415">
+ Fixed lost cause in MathRuntimeException.createInternalError. Note that the message is still the default
+ message for internal errors asking to report a bug to commons-math JIRA tracker. In order to retrieve
+ the message from the root cause, one has to get the cause itself by getCause().
+ </action>
<action dev="psteitz" type="fix" issue="MATH-411">
Modified multiple regression newSample methods to ensure that by default in all cases,
regression models are estimated with intercept terms. Prior to the fix for this issue,