You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by mi...@apache.org on 2003/11/08 15:04:38 UTC
cvs commit: jakarta-tapestry/framework/src/org/apache/tapestry ApplicationRuntimeException.java
mindbridge 2003/11/08 06:04:38
Modified: framework/src/org/apache/tapestry
ApplicationRuntimeException.java
Log:
Renamed the getRootCause() method to getCause().
This makes the class "support" the 1.4 exception chaining.
The class still works correctly if complied on 1.3 and used on 1.4 and
vice versa.
PR: 24008 ApplicationRuntime Exception loses root cause...
Revision Changes Path
1.7 +2 -2 jakarta-tapestry/framework/src/org/apache/tapestry/ApplicationRuntimeException.java
Index: ApplicationRuntimeException.java
===================================================================
RCS file: /home/cvs/jakarta-tapestry/framework/src/org/apache/tapestry/ApplicationRuntimeException.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ApplicationRuntimeException.java 6 Aug 2003 14:28:48 -0000 1.6
+++ ApplicationRuntimeException.java 8 Nov 2003 14:04:38 -0000 1.7
@@ -107,7 +107,7 @@
this(message, null, location, rootCause);
}
- public Throwable getRootCause()
+ public Throwable getCause()
{
return _rootCause;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org