/* 343 */ if (invokedPreRegister == true)
/* */ {
/* 345 */ if ((e instanceof RuntimeException)) {
/* 346 */ throw new RuntimeMBeanException((RuntimeException)e);
/* */ }
/* 348 */ throw new MBeanRegistrationException(e);
/* */ }
/* */ }
/* */ }
/* 352 */ AbstractMBeanInvoker.setMBeanEntry(null); return localServerObjectInstance1;
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 262 */ if ((object instanceof ClassLoader)) {
/* 263 */ this.loaderRepository.removeClassLoader((ClassLoader)object);
/* */ }
/* 265 */ throw t;
/* */ }
/* */
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 271 */ remove(regName);
/* 272 */ throw t;
/* */ }
/* */
/* */ }
/* */ catch (NotCompliantMBeanException e)
/* */ {
/* 278 */ throw e;
/* */ }
/* */ catch (InstanceAlreadyExistsException e)
/* */ {
/* 283 */ throw e;
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 288 */ log.error("Unexpected Exception:", t);
/* 289 */ throw t;
/* */ }
/* */ }
/* */ catch (NotCompliantMBeanException e)
/* */ {
/* 294 */ registrationDone = false;
/* 295 */ throw e;
/* */ }
/* */ catch (InstanceAlreadyExistsException e)
/* */ {
/* 300 */ registrationDone = false;
/* 301 */ throw e;
/* */ }
/* */ catch (MBeanRegistrationException e)
/* */ {
/* 306 */ registrationDone = false;
/* 307 */ log.warn(e.toString());
/* 308 */ throw e;
/* */ }
/* */ catch (RuntimeOperationsException e)
/* */ {
/* 313 */ registrationDone = false;
/* 314 */ throw e;
/* */ }
/* */ catch (Exception ex)
/* */ {
/* 319 */ registrationDone = false;
/* 320 */ ncex = new NotCompliantMBeanException("Cannot register MBean: " + name);
/* 321 */ ncex.initCause(ex);
/* 322 */ throw ncex;
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 327 */ log.error("Cannot register MBean", t);
/* 328 */ registrationDone = false;
/* 329 */ NotCompliantMBeanException ncex = null;
/* */ return ncex;
/* */ }
/* */ finally
/* */ {
/* 334 */ if (invoker != null)
/* */ {
/* */ try
/* */ {
/* 338 */ invoker.postRegister(new Boolean(registrationDone));
/* */ }
/* */ catch (Exception e)
/* */ {
/* 343 */ if (invokedPreRegister == true)
/* */ {
/* 345 */ if ((e instanceof RuntimeException)) {
/* 346 */ throw new RuntimeMBeanException((RuntimeException)e);
/* */ }
/* 348 */ throw new MBeanRegistrationException(e);
/* */ }
/* */ }
/* */ }
/* 352 */ AbstractMBeanInvoker.setMBeanEntry(null); } throw localObject;
/* */ }