docs: @Override
      public void setErrorHandler(ErrorHandler handler) {
          if (errorHandlerLocked) {
              return;
          }
          if (handler == null) {
              handler = base;
          }
          this.errorHandler = handler;
      }