docs: protected void registerNodeTypes( InputStream cndStream,
                                        NodeTypeManager nodeTypeManager,
                                        boolean allowUpdate ) throws RepositoryException, IOException {
          if (cndStream == null) {
              throw new IllegalArgumentException("The stream to the given cnd file is null");
          }
          nodeTypeManager.registerNodeTypes(cndStream, allowUpdate);
      }