try {
ret=(SyntaxDE)(con.newInstance(new Object[]{res, new Integer(minsize), new Integer(maxsize)}));
} catch (InstantiationException e) {
} catch (IllegalAccessException e) {
} catch (InvocationTargetException e) {
throw new ParseErrorException(HBCIUtilsInternal.getLocMsg("EXCMSG_PROT_ERRSYNDE",path),(Exception)e.getCause());
}
if (ret!=null) {
factory.addToUsedPool(ret);
}
} else {
try {
ret.init(res,minsize,maxsize);
factory.addToUsedPool(ret);
} catch (RuntimeException e) {
factory.addToFreePool(ret);
throw new ParseErrorException(HBCIUtilsInternal.getLocMsg("EXCMSG_PROT_ERRSYNDE",path),(Exception)e.getCause());
}
}
return ret;
}