code: @Override
     public void createEntry(final SessionProvider sessionProvider, final String groupPath, final RegistryEntry entry)
        throws RepositoryException
     {
  
        final String fullPath = "/" + EXO_REGISTRY + "/" + groupPath;
        try
        {
           checkGroup(sessionProvider, groupPath);
           session(sessionProvider, repositoryService.getCurrentRepository()).getWorkspace().importXML(fullPath,
              entry.getAsInputStream(), IMPORT_UUID_CREATE_NEW);
        }
        catch (IOException ioe)
        {
           throw new RepositoryException("Item " + fullPath + "can't be created " + ioe);
        }
        catch (ItemExistsException iee)
        {
           throw new RepositoryException("Item " + fullPath + "alredy exists " + iee);
        }
        catch (TransformerException te)
        {
           throw new RepositoryException("Can't get XML representation from stream " + te);
        }
     }
docs: {@inheritDoc}