[jboss-cvs] jboss-seam/src/main/org/jboss/seam/core ...
Norman Richards
norman.richards at jboss.com
Mon Oct 23 14:58:48 EDT 2006
User: nrichards
Date: 06/10/23 14:58:48
Modified: src/main/org/jboss/seam/core Dispatcher.java
LocalDispatcher.java
Log:
make sure exceptions are handled correctly in timer proxies
Revision Changes Path
1.9 +5 -1 jboss-seam/src/main/org/jboss/seam/core/Dispatcher.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Dispatcher.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Dispatcher.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- Dispatcher.java 23 Oct 2006 15:15:20 -0000 1.8
+++ Dispatcher.java 23 Oct 2006 18:58:48 -0000 1.9
@@ -231,9 +231,13 @@
return (LocalDispatcher) Component.getInstance(Dispatcher.class);
}
- public Object call(Callable task) {
+ public Object call(Callable task)
+ {
try {
return task.call();
+ } catch (RuntimeException e) {
+ // just pass along runtime exceptions
+ throw e;
} catch (Exception e) {
throw new RuntimeException(e);
}
1.5 +1 -1 jboss-seam/src/main/org/jboss/seam/core/LocalDispatcher.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: LocalDispatcher.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/LocalDispatcher.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
More information about the jboss-cvs-commits
mailing list