public BufferedMutatorParams listener(BufferedMutator.ExceptionListener listener) {
    this.listener = listener;
    return this;
  }
Override the default error handler. Default handler simply rethrows the exception.
hbase-client/src/main/java/org/apache/hadoop/hbase/client/BufferedMutatorParams.java