camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r628074 - /activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/SpringCamelContext.java
Date Fri, 15 Feb 2008 14:46:20 GMT
Author: jstrachan
Date: Fri Feb 15 06:46:19 2008
New Revision: 628074

URL: http://svn.apache.org/viewvc?rev=628074&view=rev
Log:
minor patch to not wrap runtime exceptions

Modified:
    activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/SpringCamelContext.java

Modified: activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/SpringCamelContext.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/SpringCamelContext.java?rev=628074&r1=628073&r2=628074&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/SpringCamelContext.java
(original)
+++ activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/SpringCamelContext.java
Fri Feb 15 06:46:19 2008
@@ -94,7 +94,10 @@
             try {
                 LOG.debug("Starting the CamelContext now that the ApplicationContext has
started");
                 start();
-            } catch (Exception e) {
+            } catch (RuntimeException e) {
+                throw (e);
+            }
+            catch (Exception e) {
                 throw new RuntimeCamelException(e);
             }
             if (eventEndpoint != null) {



Mime
View raw message