private StreamFrameListener notifyOnPush(StreamFrameListener listener, Stream stream, PushInfo pushInfo) { try { if (listener == null) return null; if (LOG.isDebugEnabled()) LOG.debug("Invoking callback with {} on listener {}", pushInfo, listener); return listener.onPush(stream, pushInfo); } catch (Exception x) { LOG.info("Exception while notifying listener " + listener, x); return null; } catch (Error x) { LOG.info("Exception while notifying listener " + listener, x); throw x; } }