try {
tl.addPointTime(TimeList.Type.WAIT);
o = sw.getObject(cntx);
} catch (SysException e) {
if (when_exception != null) ex = e;
else throw new CalculateException(owner, e);
} catch (CalculateException e) {
if (when_exception != null) ex = e;
else throw e;
} finally {
tl.addPointTime(TimeList.Type.END_WAIT);
}
if (ex != null) {
if (when_exception instanceof Prm)
try {
return ((Prm) when_exception).getObject(cntx);
} catch (SysException e) {
throw new CalculateException(owner, e);
}
return when_exception;
}
if (Null.equ(o)) {
Object v;
if (isnull != null)
v = isnull;
else
v = els;
if (v instanceof Prm)
try {
return ((Prm) v).getObject(cntx);
} catch (SysException e) {
throw new CalculateException(owner, e);
}
return v;
}
String k = o.toString();
Object v = equals.get(k);
if (v == null) {
for (Entry<Prm, Object> m : equals_full_scan.entrySet()) {
try {
if (k.equals(m.getKey().getString(cntx))) {
v = m.getValue();
if (v instanceof Prm)
try {
return ((Prm) v).getObject(cntx);
} catch (SysException e) {
throw new SysRuntimeException(e);
}
return v;
}
} catch (SysException e) {
e.printStackTrace(); // TODO To change body of catch statement use
// File | Settings | File Templates.
}
}
v = els;
if (v instanceof Prm)
try {
return ((Prm) v).getObject(cntx);
} catch (SysException e) {
throw new CalculateException(owner, e);
}
return v;
}
if (v instanceof Prm)
try {
return ((Prm) v).getObject(cntx);
} catch (SysException e) {
throw new CalculateException(owner, e);
}
return v;
} finally {
tl.addPointTime(TimeList.Type.END);
}