You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hivemind.apache.org by hl...@apache.org on 2004/08/19 15:25:59 UTC
cvs commit: jakarta-hivemind/framework/src/java/org/apache/hivemind ApplicationRuntimeException.java
hlship 2004/08/19 06:25:59
Modified: . status.xml
framework/src/java/org/apache/hivemind
ApplicationRuntimeException.java
Log:
[HIVEMIND-16] Add getCause() to ApplicationRuntimeException
Revision Changes Path
1.47 +3 -0 jakarta-hivemind/status.xml
Index: status.xml
===================================================================
RCS file: /home/cvs/jakarta-hivemind/status.xml,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- status.xml 18 Aug 2004 23:20:11 -0000 1.46
+++ status.xml 19 Aug 2004 13:25:58 -0000 1.47
@@ -67,6 +67,9 @@
<action type="add" dev="HLS" due-to="Stefan Liebig" fixes-bug="HIVEMIND-42">
Add Quick Reference Sheet.
</action>
+ <action type="fix" dev="HLS" due-to="Luke Blanshard" fixes-bug="HIVEMIND-16">
+ Add <code>getCause()</code> method to ApplicationRuntimeException
+ </action>
</release>
<release version="1.0-beta-2" date="Aug 1 2004">
1.3 +10 -0 jakarta-hivemind/framework/src/java/org/apache/hivemind/ApplicationRuntimeException.java
Index: ApplicationRuntimeException.java
===================================================================
RCS file: /home/cvs/jakarta-hivemind/framework/src/java/org/apache/hivemind/ApplicationRuntimeException.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ApplicationRuntimeException.java 17 Jun 2004 15:16:11 -0000 1.2
+++ ApplicationRuntimeException.java 19 Aug 2004 13:25:58 -0000 1.3
@@ -78,4 +78,14 @@
{
return _component;
}
+
+ /**
+ * This method is for compatibility with JDK 1.4 ... under 1.4, this will look like
+ * an override, allowing <code>printStackTrace()</code> to descending into the root cause
+ * exception and print its stack trace too.
+ */
+ public Throwable getCause()
+ {
+ return _rootCause;
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-cvs-help@jakarta.apache.org