geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r1392958 - in /geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap: MessageFactory.java SAAJMetaFactory.java SOAPConnectionFactory.java SOAPElementFactory.java SOAPFactory.java
Date Tue, 02 Oct 2012 15:14:02 GMT
Author: gawor
Date: Tue Oct  2 15:14:01 2012
New Revision: 1392958

URL: http://svn.apache.org/viewvc?rev=1392958&view=rev
Log:
GERONIMO-6394: saaj factories swollow the exceptions. Patch from Dan Kulp

Modified:
    geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/MessageFactory.java
    geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SAAJMetaFactory.java
    geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SOAPConnectionFactory.java
    geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SOAPElementFactory.java
    geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SOAPFactory.java

Modified: geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/MessageFactory.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/MessageFactory.java?rev=1392958&r1=1392957&r2=1392958&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/MessageFactory.java
(original)
+++ geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/MessageFactory.java
Tue Oct  2 15:14:01 2012
@@ -87,7 +87,7 @@ public abstract class MessageFactory {
             }
             return factory;
         } catch (Exception exception) {
-            throw new SOAPException("Unable to create MessageFactory: " + exception.getMessage());
+            throw new SOAPException("Unable to create MessageFactory: " + exception.getMessage(),
exception);
         }
     }
 

Modified: geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SAAJMetaFactory.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SAAJMetaFactory.java?rev=1392958&r1=1392957&r2=1392958&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SAAJMetaFactory.java
(original)
+++ geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SAAJMetaFactory.java
Tue Oct  2 15:14:01 2012
@@ -28,7 +28,7 @@ public abstract class SAAJMetaFactory {
                 instance = (SAAJMetaFactory)FactoryFinder.find(SAAJMetaFactory.class,
                                                                "org.apache.axis2.saaj.SAAJMetaFactoryImpl");
             } catch (Exception exception) {
-                throw new SOAPException(exception.getMessage());
+                throw new SOAPException(exception.getMessage(), exception);
             }
         }
         return instance;

Modified: geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SOAPConnectionFactory.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SOAPConnectionFactory.java?rev=1392958&r1=1392957&r2=1392958&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SOAPConnectionFactory.java
(original)
+++ geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SOAPConnectionFactory.java
Tue Oct  2 15:14:01 2012
@@ -46,7 +46,7 @@ public abstract class SOAPConnectionFact
                                                              DEFAULT_SOAP_CONNECTION_FACTORY);
         } catch (Exception exception) {
             throw new SOAPException("Unable to create SOAP connection factory: "
-                    + exception.getMessage());
+                    + exception.getMessage(),  exception);
         }
     }
 

Modified: geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SOAPElementFactory.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SOAPElementFactory.java?rev=1392958&r1=1392957&r2=1392958&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SOAPElementFactory.java
(original)
+++ geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SOAPElementFactory.java
Tue Oct  2 15:14:01 2012
@@ -99,7 +99,7 @@ public class SOAPElementFactory {
             return new SOAPElementFactory(SOAPFactory.newInstance());
         } catch (Exception exception) {
             throw new SOAPException("Unable to create SOAP Element Factory: "
-                    + exception.getMessage());
+                    + exception.getMessage(), exception);
         }
     }
 

Modified: geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SOAPFactory.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SOAPFactory.java?rev=1392958&r1=1392957&r2=1392958&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SOAPFactory.java
(original)
+++ geronimo/specs/trunk/geronimo-saaj_1.3_spec/src/main/java/javax/xml/soap/SOAPFactory.java
Tue Oct  2 15:14:01 2012
@@ -126,7 +126,7 @@ public abstract class SOAPFactory {
             }
             return factory;
         } catch (Exception exception) {
-            throw new SOAPException("Unable to create SOAPFactory: " + exception.getMessage());
+            throw new SOAPException("Unable to create SOAPFactory: " + exception.getMessage(),
exception);
         }
     }
 



Mime
View raw message