private void notifyContent(Request.ContentListener listener, Request request, ByteBuffer content) { try { listener.onContent(request, content); } catch (Exception x) { LOG.info("Exception while notifying listener " + listener, x); } }
private void notifyContent(Request.ContentListener listener, Request request, ByteBuffer content) { try { listener.onContent(request, content); } catch (Throwable x) { LOG.info("Exception while notifying listener " + listener, x); } }
private void notifyContent(Request.ContentListener listener, Request request, ByteBuffer content) { try { listener.onContent(request, content); } catch (Exception x) { LOG.info("Exception while notifying listener " + listener, x); } }
@Override public void onContent(Request request, ByteBuffer content) { listener.onContent(request, content); } });