You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dk...@apache.org on 2011/10/12 05:01:48 UTC
svn commit: r1182179 - in /camel/branches/camel-2.8.x: ./
components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/SoapJaxbDataFormat.java
Author: dkulp
Date: Wed Oct 12 03:01:48 2011
New Revision: 1182179
URL: http://svn.apache.org/viewvc?rev=1182179&view=rev
Log:
Merged revisions 1179664 via svnmerge from
https://svn.apache.org/repos/asf/camel/trunk
........
r1179664 | cschneider | 2011-10-06 11:27:01 -0400 (Thu, 06 Oct 2011) | 1 line
showing the nested exception
........
Modified:
camel/branches/camel-2.8.x/ (props changed)
camel/branches/camel-2.8.x/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/SoapJaxbDataFormat.java
Propchange: camel/branches/camel-2.8.x/
('svn:mergeinfo' removed)
Propchange: camel/branches/camel-2.8.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified: camel/branches/camel-2.8.x/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/SoapJaxbDataFormat.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.8.x/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/SoapJaxbDataFormat.java?rev=1182179&r1=1182178&r2=1182179&view=diff
==============================================================================
--- camel/branches/camel-2.8.x/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/SoapJaxbDataFormat.java (original)
+++ camel/branches/camel-2.8.x/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/SoapJaxbDataFormat.java Wed Oct 12 03:01:48 2011
@@ -336,7 +336,7 @@ public class SoapJaxbDataFormat extends
WebFault webFault = exception.getClass().getAnnotation(WebFault.class);
if (webFault == null || webFault.targetNamespace() == null) {
throw new RuntimeException("The exception " + exception.getClass().getName()
- + " needs to have an WebFault annotation with name and targetNamespace");
+ + " needs to have an WebFault annotation with name and targetNamespace", exception);
}
QName name = new QName(webFault.targetNamespace(), webFault.name());
Object faultObject = null;