private void notifyOnReply(ReplyInfo replyInfo) { final StreamFrameListener listener = this.listener; try { if (listener != null) { if (LOG.isDebugEnabled()) LOG.debug("Invoking reply callback with {} on listener {}", replyInfo, listener); listener.onReply(this, replyInfo); } } catch (Exception x) { LOG.info("Exception while notifying listener " + listener, x); } catch (Error x) { LOG.info("Exception while notifying listener " + listener, x); throw x; } }