code: @Override
      public void updateResourceInCache(ResourceType type, String location) {
          try {
              if (ResourceType.NAMESPACES.equals(type)) {
                  rebuildNamespace(location);
              } else {
                  downloadResource(location, type);
              }
  
              reportable.output("Updated resource: " + location);
          } catch (ResourceDownloadError e) {
              reportable.error(e.getUserFacingMessage());
          } catch (IndexingFailure e) {
              reportable.error(e.getUserFacingMessage());
          } catch (IOException e) {
              logExceptionSimple(location, e);
          }
      }
docs: {@inheritDoc}