code: private void removeComponentWithoutException(Type role, String hint)
      {
          try {
              removeComponent(role, hint);
          } catch (Exception e) {
              this.logger.warn("Instance released but disposal failed. Some resources may not have been released.", e);
          }
      }
docs: Note: This method shouldn't exist but register/unregister methods should throw a
  {@link ComponentLifecycleException} but that would break backward compatibility to add it.