activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1209045 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java
Date Thu, 01 Dec 2011 11:54:14 GMT
Author: gtully
Date: Thu Dec  1 11:54:13 2011
New Revision: 1209045

URL: http://svn.apache.org/viewvc?rev=1209045&view=rev
Log:
ensure the reason is visible in a failure to accept connection due to oom

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java?rev=1209045&r1=1209044&r2=1209045&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java
Thu Dec  1 11:54:13 2011
@@ -208,7 +208,7 @@ public class TcpTransport extends Transp
             onException(e);
         } catch (Throwable e){
             stoppedLatch.get().countDown();
-            IOException ioe=new IOException("Unexpected error occured");
+            IOException ioe=new IOException("Unexpected error occured: " + e);
             ioe.initCause(e);
             onException(ioe);
         }finally {



Mime
View raw message