Update of 
/var/cvs/applications/editwizard/src/org/mmbase/applications/editwizard
In directory 
james.mmbase.org:/tmp/cvs-serv19750/src/org/mmbase/applications/editwizard

Modified Files:
      Tag: MMBase-1_8
        Utils.java 
Log Message:
ported fix for   MMB-1343 to 1.8


See also: 
http://cvs.mmbase.org/viewcvs/applications/editwizard/src/org/mmbase/applications/editwizard
See also: http://www.mmbase.org/jira/browse/MMB-1343


Index: Utils.java
===================================================================
RCS file: 
/var/cvs/applications/editwizard/src/org/mmbase/applications/editwizard/Utils.java,v
retrieving revision 1.41.2.3
retrieving revision 1.41.2.4
diff -u -b -r1.41.2.3 -r1.41.2.4
--- Utils.java  12 Dec 2007 14:00:42 -0000      1.41.2.3
+++ Utils.java  6 Feb 2008 13:13:18 -0000       1.41.2.4
@@ -40,7 +40,7 @@
  * @author  Pierre van Rooden
  * @author  Michiel Meeuwissen
  * @since   MMBase-1.6
- * @version $Id: Utils.java,v 1.41.2.3 2007/12/12 14:00:42 pierre Exp $
+ * @version $Id: Utils.java,v 1.41.2.4 2008/02/06 13:13:18 michiel Exp $
  */
 
 public class Utils {
@@ -646,8 +646,7 @@
         try {
             return XPathAPI.selectSingleNode(contextnode, xpath);
         } catch (Exception e) {
-            log.error(Logging.stackTrace(e));
-            throw new RuntimeException(Logging.stackTrace(e));
+            throw new RuntimeException(e.getMessage(), e);
         }
     }
 
@@ -662,8 +661,7 @@
         try {
             return XPathAPI.selectNodeList(contextnode, xpath);
         } catch (Exception e) {
-            log.error(Logging.stackTrace(e));
-            throw new RuntimeException(Logging.stackTrace(e));
+            throw new RuntimeException(e.getMessage(), e);
         }
     }
 
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to