@Override
    public void onError(Exception e) throws Exception {
      log.error("onError(): ", e);

      if (handler != null) {
        handler.onError(e);
      } else {
        throw e;
      }
    }