ensure the reason is visible in a failure to accept connection due to oom

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1209045 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2011-12-01 11:54:13 +00:00
parent 3c3feb49a6
commit dad86e6891
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ public class TcpTransport extends TransportThreadSupport implements Transport, S
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 {