onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From as...@apache.org
Subject svn commit: r1606436 - /onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/LifeCycleModule.java
Date Sun, 29 Jun 2014 06:39:50 GMT
Author: ash2k
Date: Sun Jun 29 06:39:50 2014
New Revision: 1606436

URL: http://svn.apache.org/r1606436
Log:
getCause() is preferred over getTargetException()

Modified:
    onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/LifeCycleModule.java

Modified: onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/LifeCycleModule.java
URL: http://svn.apache.org/viewvc/onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/LifeCycleModule.java?rev=1606436&r1=1606435&r2=1606436&view=diff
==============================================================================
--- onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/LifeCycleModule.java
(original)
+++ onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/LifeCycleModule.java
Sun Jun 29 06:39:50 2014
@@ -104,7 +104,7 @@ public abstract class LifeCycleModule
                         {
                             throw new ProvisionException(
                                 format( "An error occurred while invoking @%s %s on %s",
annotationType.getName(),
-                                        method, injectee ), e.getTargetException() );
+                                        method, injectee ), e.getCause() );
                         }
                     }
 



Mime
View raw message