activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1415275 - /activemq/trunk/activemq-client/src/main/java/org/apache/activemq/TransportLoggerSupport.java
Date Thu, 29 Nov 2012 17:09:33 GMT
Author: chirino
Date: Thu Nov 29 17:09:32 2012
New Revision: 1415275

URL: http://svn.apache.org/viewvc?rev=1415275&view=rev
Log:
It's ok if we can load the SPI class, it just means we don't have the broker module in the
classpath.  So lets not print out the stacktrace.

Modified:
    activemq/trunk/activemq-client/src/main/java/org/apache/activemq/TransportLoggerSupport.java

Modified: activemq/trunk/activemq-client/src/main/java/org/apache/activemq/TransportLoggerSupport.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-client/src/main/java/org/apache/activemq/TransportLoggerSupport.java?rev=1415275&r1=1415274&r2=1415275&view=diff
==============================================================================
--- activemq/trunk/activemq-client/src/main/java/org/apache/activemq/TransportLoggerSupport.java
(original)
+++ activemq/trunk/activemq-client/src/main/java/org/apache/activemq/TransportLoggerSupport.java
Thu Nov 29 17:09:32 2012
@@ -39,7 +39,6 @@ public class TransportLoggerSupport {
             temp = (SPI) TransportLoggerSupport.class.getClassLoader().loadClass("org.apache.activemq.transport.TransportLoggerFactorySPI").newInstance();
         } catch (Throwable e) {
             temp = null;
-            e.printStackTrace();  //To change body of catch statement use File | Settings
| File Templates.
         }
         spi = temp;
     }



Mime
View raw message