Author: veithen
Date: Fri May 14 17:29:45 2010
New Revision: 944347

URL: http://svn.apache.org/viewvc?rev=944347&view=rev
Log:
Prepared Axis2 for application of patch for WSCOMMONS-111. RuntimeExceptions 
will no longer be caught (and transformed to OMExceptions) in 
StAXOMBuilder#next(). Therefore, they need to be caught by Axis2 if there is a 
requirement to react to RuntimeExceptions thrown by the Axiom code.

Modified:
    
axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/message/util/impl/SAAJConverterImpl.java

Modified: 
axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/message/util/impl/SAAJConverterImpl.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/message/util/impl/SAAJConverterImpl.java?rev=944347&r1=944346&r2=944347&view=diff
==============================================================================
--- 
axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/message/util/impl/SAAJConverterImpl.java
 (original)
+++ 
axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/message/util/impl/SAAJConverterImpl.java
 Fri May 14 17:29:45 2010
@@ -158,7 +158,7 @@ public class SAAJConverterImpl implement
         //   d) possibly add an optimization to use OMSE for the body 
elements...to flatten the tree.
         try {
             omEnvelope.build();
-        } catch (OMException ex){
+        } catch (Exception ex){
             try {
                 // Let's try to see if we can save the envelope as a string
                 // and then make it into axiom SOAPEnvelope


Reply via email to