geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r522753 - /geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/ejb/EJBMethodInvoker.java
Date Tue, 27 Mar 2007 05:06:07 GMT
Author: gawor
Date: Mon Mar 26 22:06:07 2007
New Revision: 522753

URL: http://svn.apache.org/viewvc?view=rev&rev=522753
Log:
return soap fault when runtime exception occurs

Modified:
    geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/ejb/EJBMethodInvoker.java

Modified: geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/ejb/EJBMethodInvoker.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/ejb/EJBMethodInvoker.java?view=diff&rev=522753&r1=522752&r2=522753
==============================================================================
--- geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/ejb/EJBMethodInvoker.java
(original)
+++ geronimo/server/trunk/modules/geronimo-cxf/src/main/java/org/apache/geronimo/cxf/ejb/EJBMethodInvoker.java
Mon Mar 26 22:06:07 2007
@@ -67,6 +67,8 @@
         try {
             result = container.invoke(this.deploymentInfo.getDeploymentID(), m, paramArray,
null, null);
         } catch (OpenEJBException e) {
+            throw new Fault(e);           
+        } catch (RuntimeException e) {
             throw new Fault(e);
         }
         



Mime
View raw message