throw e;
} catch (InvocationTargetException e) {
if (e.getCause() instanceof RuntimeException)
throw (RuntimeException) e.getCause();
else
throw new CreationException(e.getCause());
} catch (InstantiationException e) {
throw new CreationException(L.l("Exception while creating {0}\n {1}",
_javaCtor != null ? _javaCtor : _instanceClass,
e),
e);
} catch (Exception e) {
throw new CreationException(e);
} catch (ExceptionInInitializerError e) {
throw new CreationException(e);
}
}