You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by sn...@apache.org on 2002/08/30 21:08:07 UTC
cvs commit: xml-soap/java/src/org/apache/soap Envelope.java
snichol 2002/08/30 12:08:07
Modified: java/src/org/apache/soap Envelope.java
Log:
Improve an exception message in unmarshal.
Revision Changes Path
1.8 +5 -1 xml-soap/java/src/org/apache/soap/Envelope.java
Index: Envelope.java
===================================================================
RCS file: /home/cvs/xml-soap/java/src/org/apache/soap/Envelope.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Envelope.java 19 Mar 2001 06:20:50 -0000 1.7
+++ Envelope.java 30 Aug 2002 19:08:07 -0000 1.8
@@ -305,7 +305,11 @@
{
throw new IllegalArgumentException("Root element of a SOAP message " +
"must be: '" +
- Constants.Q_ELEM_ENVELOPE + "'.");
+ Constants.Q_ELEM_ENVELOPE +
+ "', not '" + root.getNamespaceURI() +
+ ":" + localName +
+ "' (" + root.getNodeName() +
+ ").");
}
}