int len=temp.length();
char preDelim=getPreDelim();
if (preDelim!=(char)0 && temp.charAt(0)!=preDelim) {
if (len==0) {
throw new ParseErrorException(HBCIUtilsInternal.getLocMsg("EXCMSG_ENDOFSTRG",getPath()));
}
// HBCIUtils.log("error string: "+res.toString(),HBCIUtils.LOG_ERR);
// HBCIUtils.log("current: "+getPath()+":"+type+"("+minsize+","+maxsize+")="+value,HBCIUtils.LOG_ERR);
// HBCIUtils.log("predelimiter mismatch (required:"+getPreDelim()+" found:"+temp.charAt(0)+")",HBCIUtils.LOG_ERR);
throw new PredelimErrorException(getPath(),Character.toString(preDelim),Character.toString(temp.charAt(0)));
}
this.value=SyntaxDEFactory.getInstance().createSyntaxDE(getType(),getPath(),res,minsize,maxsize);
String valueString=value.toString(0);
String predefined = predefs.get(getPath());
if (predefined!=null) {
if (!valueString.equals(predefined)) {
throw new ParseErrorException(HBCIUtilsInternal.getLocMsg("EXCMSG_PREDEFERR",
new Object[] {getPath(),predefined,value}));
}
}
boolean atLeastOne=false;