private void dispatch(ForeignException e) {
    // update all the listeners with the passed error
    for (ForeignExceptionListener l : listeners) {
      l.receive(e);
    }
  }
Sends an exception to all listeners.
@param e {@link ForeignException} containing the cause. Can be null.
hbase-server/src/main/java/org/apache/hadoop/hbase/errorhandling/ForeignExceptionDispatcher.java