mx4j/src/core/mx4j/server/interceptor InvokerMBeanServerInterceptor.java,1.22,1.23

Jeremy Boynes <[email protected]> Sun, 13 Feb 2005 19:46:00 +0000
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/src/core/mx4j/server/interceptor
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18825/src/core/mx4j/server/interceptor

Modified Files:
	InvokerMBeanServerInterceptor.java 
Log Message:
Fix for [ 1121912 ] Exception from preRegister prevents registration
Fix for [ 1121915 ] Exception in preDeregister should terminate immediately
Updated postDeregister testcase for correct Exception

Index: InvokerMBeanServerInterceptor.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/mx4j/server/interceptor/InvokerMBeanServerInterceptor.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** InvokerMBeanServerInterceptor.java	13 Nov 2004 16:38:40 -0000	1.22
--- InvokerMBeanServerInterceptor.java	13 Feb 2005 19:45:58 -0000	1.23
***************
*** 186,189 ****
--- 186,193 ----
           throw new MBeanRegistrationException(x);
        }
+       catch (Error x)
+       {
+          throw new RuntimeErrorException(x);
+       }
     }
  



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click