[jboss-cvs] JBossAS SVN: r82984 - branches/JBPAPP_4_2_0_GA_CP/jmx/src/main/org/jboss/mx/server.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Jan 16 10:23:12 EST 2009
Author: dimitris at jboss.org
Date: 2009-01-16 10:23:12 -0500 (Fri, 16 Jan 2009)
New Revision: 82984
Modified:
branches/JBPAPP_4_2_0_GA_CP/jmx/src/main/org/jboss/mx/server/RawDynamicInvoker.java
Log:
JBPAPP-1170, JMX operations eat underlying exception
Modified: branches/JBPAPP_4_2_0_GA_CP/jmx/src/main/org/jboss/mx/server/RawDynamicInvoker.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/jmx/src/main/org/jboss/mx/server/RawDynamicInvoker.java 2009-01-16 15:22:26 UTC (rev 82983)
+++ branches/JBPAPP_4_2_0_GA_CP/jmx/src/main/org/jboss/mx/server/RawDynamicInvoker.java 2009-01-16 15:23:12 UTC (rev 82984)
@@ -206,7 +206,10 @@
}
catch (Exception e)
{
- throw new NotCompliantMBeanException("Cannot obtain MBeanInfo, for: " + oname);
+ // turn into a NotCompliantMBeanException
+ Exception ncmbe = new NotCompliantMBeanException("Cannot obtain MBeanInfo for: " + oname);
+ ncmbe.initCause(e);
+ throw ncmbe;
}
ClassLoader mbeanTCL = resourceEntry.getClassLoader();
More information about the jboss-cvs-commits
mailing list