Author: luc
Date: Sat Sep 11 17:19:18 2010
New Revision: 996178
URL: http://svn.apache.org/viewvc?rev=996178&view=rev
Log:
Fixed lost cause in MathRuntimeException.createInternalError
JIRA: MATH-415
Modified:
commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/MathRuntimeException.java
commons/proper/math/branches/MATH_2_X/src/site/xdoc/changes.xml
Modified:
commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/MathRuntimeException.java
URL:
http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/MathRuntimeException.java?rev=996178&r1=996177&r2=996178&view=diff
==============================================================================
---
commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/MathRuntimeException.java
(original)
+++
commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/MathRuntimeException.java
Sat Sep 11 17:19:18 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/branches/MATH_2_X/src/site/xdoc/changes.xml
URL:
http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/site/xdoc/changes.xml?rev=996178&r1=996177&r2=996178&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_X/src/site/xdoc/changes.xml (original)
+++ commons/proper/math/branches/MATH_2_X/src/site/xdoc/changes.xml Sat Sep 11
17:19:18 2010
@@ -52,6 +52,11 @@ The <action> type attribute can be add,u
If the output is not quite correct, check for invisible trailing spaces!
-->
<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,