openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1428676 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/DefaultInterceptorHandler.java
Date Thu, 03 Jan 2013 23:54:02 GMT
Author: arne
Date: Thu Jan  3 23:54:02 2013
New Revision: 1428676

URL: http://svn.apache.org/viewvc?rev=1428676&view=rev
Log:
OWB-344: Removed wrapping of exception

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/DefaultInterceptorHandler.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/DefaultInterceptorHandler.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/DefaultInterceptorHandler.java?rev=1428676&r1=1428675&r2=1428676&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/DefaultInterceptorHandler.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/DefaultInterceptorHandler.java
Thu Jan  3 23:54:02 2013
@@ -26,6 +26,7 @@ import javax.enterprise.inject.spi.Inter
 import javax.enterprise.inject.spi.Interceptor;
 
 import org.apache.webbeans.proxy.InterceptorHandler;
+import org.apache.webbeans.util.ExceptionUtil;
 
 public class DefaultInterceptorHandler<T> implements InterceptorHandler
 {
@@ -58,7 +59,7 @@ public class DefaultInterceptorHandler<T
         }
         catch (Exception e)
         {
-            throw new IllegalStateException(e);
+            return ExceptionUtil.throwAsRuntimeException(e);
         }
     }
 }



Mime
View raw message