From 81a2c836082b34b80de5ca7da2e6a9d80ad5a6c7 Mon Sep 17 00:00:00 2001 From: "Hiram R. Chirino" Date: Thu, 29 Nov 2012 17:09:32 +0000 Subject: [PATCH] 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. git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1415275 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/activemq/TransportLoggerSupport.java | 1 - 1 file changed, 1 deletion(-) diff --git a/activemq-client/src/main/java/org/apache/activemq/TransportLoggerSupport.java b/activemq-client/src/main/java/org/apache/activemq/TransportLoggerSupport.java index d56f641e6f..2a4e600696 100644 --- a/activemq-client/src/main/java/org/apache/activemq/TransportLoggerSupport.java +++ b/activemq-client/src/main/java/org/apache/activemq/TransportLoggerSupport.java @@ -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; }