You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by jo...@apache.org on 2004/08/27 23:02:09 UTC
cvs commit: ws-jaxme/src/jaxme/org/apache/ws/jaxme/generator/sg/impl JAXBComplexContentTypeSG.java
jochen 2004/08/27 14:02:09
Modified: src/jaxme/org/apache/ws/jaxme/generator/sg/impl Tag:
Branch_R0_3 JAXBComplexContentTypeSG.java
Log:
Made the error message indicating use of xs:any a little bit more explicit. (JAXME-27)
Revision Changes Path
No revision
No revision
1.2.2.1 +3 -0 ws-jaxme/src/jaxme/org/apache/ws/jaxme/generator/sg/impl/JAXBComplexContentTypeSG.java
Index: JAXBComplexContentTypeSG.java
===================================================================
RCS file: /home/cvs/ws-jaxme/src/jaxme/org/apache/ws/jaxme/generator/sg/impl/JAXBComplexContentTypeSG.java,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -r1.2 -r1.2.2.1
--- JAXBComplexContentTypeSG.java 16 Feb 2004 23:39:55 -0000 1.2
+++ JAXBComplexContentTypeSG.java 27 Aug 2004 21:02:08 -0000 1.2.2.1
@@ -37,6 +37,9 @@
groupSG = null;
} else {
XSParticle particle = pType.getComplexType().getParticle();
+ if (particle == null) {
+ throw new NullPointerException("Missing group particle for type = " + pType.getName());
+ }
if (particle.isGroup()) {
XSGroup group = particle.getGroup();
groupSG = pComplexTypeSG.getTypeSG().getFactory().getGroupSG(group, pComplexTypeSG.getClassContext());
---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org