private void notifyComplete(Response.CompleteListener listener, Result result) { try { listener.onComplete(result); } catch (Exception x) { LOG.info("Exception while notifying listener " + listener, x); } }
private void notifyComplete(Response.CompleteListener listener, Result result) { try { listener.onComplete(result); } catch (Throwable x) { LOG.info("Exception while notifying listener " + listener, x); } }
private void notifyComplete(Response.CompleteListener listener, Result result) { try { listener.onComplete(result); } catch (Exception x) { LOG.info("Exception while notifying listener " + listener, x); } }
@Override public void onComplete(Result result) { listener.onComplete(result); } });