|
From: <th...@us...> - 2004-01-06 10:08:11
|
Update of /cvsroot/jaxme/JaxMe/src/generator/de/ispsoft/jaxme/generator/javaclasswriter
In directory sc8-pr-cvs1:/tmp/cvs-serv18104/src/generator/de/ispsoft/jaxme/generator/javaclasswriter
Modified Files:
BasicJavaClassWriter.java
Log Message:
bug fixed
Index: BasicJavaClassWriter.java
===================================================================
RCS file: /cvsroot/jaxme/JaxMe/src/generator/de/ispsoft/jaxme/generator/javaclasswriter/BasicJavaClassWriter.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- BasicJavaClassWriter.java 8 Dec 2003 09:52:47 -0000 1.29
+++ BasicJavaClassWriter.java 6 Jan 2004 10:08:08 -0000 1.30
@@ -380,6 +380,7 @@
if (!(attr.getSchemaType() instanceof StringType) &&
attr.getRestrictions().getErrorCode() != null) {
jmSet.addLine(" try {");
+ jmSet.addLine(" " + attr.getAssignmentTo(sst.castFromString("pValue", "pUnmarshaller")));
jmSet.addLine(" } catch(Exception e) {");
jmSet.addLine(" " + ValidationException.class.getName()
+ " ve = new " + ValidationException.class.getName()
|