@Override public CatchBlock getCatchBlock(Config config) { CatchBlock cb = rootCause.getCatchBlock(config); Collection cause = (Collection) Duplicator.duplicate(cb, false); // rtn.setEL("message", getMessage()); if (!cb.containsKey(KeyConstants._detail)) cb.setEL( KeyConstants._detail, "Exception throwed while invoking function [" + eventName + "] in application event handler "); cb.setEL(ROOT_CAUSE, cause); cb.setEL(CAUSE, cause); // cb.setEL("stacktrace", getStackTraceAsString()); // rtn.setEL("tagcontext", new ArrayImpl()); // rtn.setEL("type", getTypeAsString()); cb.setEL(KeyConstants._name, eventName); return cb; }