throw new ReflectionException((NoSuchMethodException)new NoSuchMethodException(e.getMessage()).initCause(e));
} catch (GBeanNotFoundException e) {
if(name.equals(e.getGBeanName())) {
throw (InstanceNotFoundException)new InstanceNotFoundException(name.getCanonicalName()).initCause(e);
}
throw new MBeanException(e);
} catch (InternalKernelException e) {
throw new MBeanException(unwrapInternalKernelException(e));
} catch (Exception e) {
throw new MBeanException(e);
}
}