if (e.hasAttribute("prcpool")) {
prcpool = e.getAttribute("prcpool");
try {
prcs = (PoolThread) ApplicationManager.getPoolByName(prcpool, Process.class);
} catch (SysException e1) {
throw new SysRuntimeException("There is no pool by name '" + prcpool + "'");
}
} else
throw new SysRuntimeException("There is no prcpool attribute");
if (e.hasAttribute("wait")) {
try {
wait = Strings.parseIntegerNvl(e.getAttribute("wait"), 10000);
} catch (NumberFormatException e1) {
throw new SysRuntimeException("Attribute by name 'wait' isn't correct", e1);
}
} else
wait = 10000;
def = (Element) Strings.getXMLObject(e, "default");
}