Author: ron.sigal(a)jboss.com
Date: 2009-04-14 21:59:44 -0400 (Tue, 14 Apr 2009)
New Revision: 5037
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java
Log:
JBREM-1088: Added original exception as RuntimeException cause.
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java
===================================================================
---
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java 2009-04-15
01:31:36 UTC (rev 5036)
+++
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java 2009-04-15
01:59:44 UTC (rev 5037)
@@ -277,7 +277,7 @@
catch (Exception ex)
{
log.debug("Error setting up " + this, ex);
- throw new RuntimeException(ex.getMessage());
+ throw new RuntimeException(ex.getMessage(), ex);
}
log.debug(this + " constructed");
Show replies by date