Author: ron.sigal(a)jboss.com
Date: 2009-04-15 00:37:16 -0400 (Wed, 15 Apr 2009)
New Revision: 5039
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/ident/Identity.java
Log:
JBREM-1104: Ported David Lloyd's fix to 2.2 branch.
Modified: remoting2/branches/2.2/src/main/org/jboss/remoting/ident/Identity.java
===================================================================
--- remoting2/branches/2.2/src/main/org/jboss/remoting/ident/Identity.java 2009-04-15
02:00:56 UTC (rev 5038)
+++ remoting2/branches/2.2/src/main/org/jboss/remoting/ident/Identity.java 2009-04-15
04:37:16 UTC (rev 5039)
@@ -208,7 +208,10 @@
}
catch(Exception ex)
{
- throw new RuntimeException("Exception creating identity: " +
ex.getMessage());
+ String type = ex.getClass().getName();
+ final RuntimeException rex = new RuntimeException("Exception creating
identity: " + type + ": " + ex.getMessage());
+ rex.setStackTrace(ex.getStackTrace());
+ throw rex;
}
}
Show replies by date