I have question about https://issues.apache.org/jira/browse/IGNITE-2079

Sametime need send notification for client listener about unhandled exception, what do you think if to add new class CacheExceptionEvent ?
Maybe there is more convenient event type/name ?

Server code
CacheExceptionEvent evt = new CacheExceptionEvent(node, shortMsg, ex, EVT_UNHANDLED_EXCEPTION);
    ctx.event().record(evt);

Client code example

grid(0).events().localListen(new IgnitePredicate<Event>() {
    @Override public boolean apply(Event event) {
        . . .          return true;
    }
}, EventType.EVT_UNHANDLED_EXCEPTION);

Reply via email to