### Eclipse Workspace Patch 1.0 #P picocontainer Index: src/java/org/picocontainer/lifecycle/ReflectionLifecycleStrategy.java =================================================================== --- src/java/org/picocontainer/lifecycle/ReflectionLifecycleStrategy.java (revision 5446) +++ src/java/org/picocontainer/lifecycle/ReflectionLifecycleStrategy.java (working copy) @@ -112,13 +112,13 @@ } catch (IllegalAccessException e) { monitorAndThrowReflectionLifecycleException(method, e, component); } catch (InvocationTargetException e) { - monitorAndThrowReflectionLifecycleException(method, (Exception) e.getCause(), component); + monitorAndThrowReflectionLifecycleException(method, e.getCause(), component); } } } protected void monitorAndThrowReflectionLifecycleException(final Method method, - final Exception e, + final Throwable e, final Object component) { RuntimeException re; if (e.getCause() instanceof RuntimeException) {