* Handle max-thread-count exception in invokeAsynx().

This commit is contained in:
hns 2007-03-28 21:07:55 +00:00
parent ecfa47bdc7
commit c836b73bf2

View file

@ -712,8 +712,9 @@ public class ApplicationBean implements Serializable {
map.put("running", Boolean.TRUE);
new Thread() {
public void run() {
RequestEvaluator reval = app.getEvaluator();
RequestEvaluator reval = null;
try {
reval = app.getEvaluator();
map.put("result", reval.invokeInternal(thisObject, function, args, timeout));
} catch (Exception x) {
map.put("exception", x);