try {
bean.__caucho_postConstruct();
} catch (RuntimeException e) {
throw e;
} catch (InvocationTargetException e) {
throw new EJBExceptionWrapper(e.getCause());
} catch (Exception e) {
throw new EJBExceptionWrapper(e);
}
}
if (instance instanceof StatefulProxy) {
StatefulProxy proxy = (StatefulProxy) instance;