activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r467697 - /incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/BadConnectionTest.java
Date Wed, 25 Oct 2006 16:05:00 GMT
Author: chirino
Date: Wed Oct 25 09:05:00 2006
New Revision: 467697

URL: http://svn.apache.org/viewvc?view=rev&rev=467697
Log:
avoid println in the console output

Modified:
    incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/BadConnectionTest.java

Modified: incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/BadConnectionTest.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/BadConnectionTest.java?view=diff&rev=467697&r1=467696&r2=467697
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/BadConnectionTest.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/failover/BadConnectionTest.java
Wed Oct 25 09:05:00 2006
@@ -45,8 +45,7 @@
             fail("This should never succeed");
         }
         catch (IOException e) {
-            log.info("Caught expected exception: " + e);
-            e.printStackTrace();
+            log.info("Caught expected exception: " + e, e);
         }
     }
     protected Transport createTransport() throws Exception {



Mime
View raw message