Update of /var/cvs/applications/jumpers/src/org/mmbase/util/jumpers
In directory james.mmbase.org:/tmp/cvs-serv7471

Modified Files:
        ChainedJumperStrategy.java 
Log Message:
catch exceptions


See also: 
http://cvs.mmbase.org/viewcvs/applications/jumpers/src/org/mmbase/util/jumpers


Index: ChainedJumperStrategy.java
===================================================================
RCS file: 
/var/cvs/applications/jumpers/src/org/mmbase/util/jumpers/ChainedJumperStrategy.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ChainedJumperStrategy.java  11 Sep 2007 17:13:13 -0000      1.3
+++ ChainedJumperStrategy.java  23 Jan 2008 12:39:53 -0000      1.4
@@ -22,7 +22,7 @@
 /**
 
 * @author Michiel Meeuwissen
-* @version $Id: ChainedJumperStrategy.java,v 1.3 2007/09/11 17:13:13 michiel 
Exp $
+* @version $Id: ChainedJumperStrategy.java,v 1.4 2008/01/23 12:39:53 michiel 
Exp $
 */
 public class ChainedJumperStrategy extends JumperStrategy {
 
@@ -46,8 +46,12 @@
 
     public String  calculate(MMObjectNode node) {
         for (JumperStrategy s : chain) {
+            try {
             String r = s.calculate(node);
             if (r != null) return r;
+            } catch (Exception e) {
+                log.service(e.getMessage());
+            }
         }
         return null;
 
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to