code: public VersionHistoryImpl getContainingHistory() throws RepositoryException
     {
        checkValid();
  
        VersionHistoryImpl vhistory =
           (VersionHistoryImpl)dataManager.getItemByIdentifier(nodeData().getParentIdentifier(), true, false);
  
        if (vhistory == null)
        {
           throw new VersionException("Version history item is not found for version " + getPath());
        }
  
        return vhistory;
     }
docs: {@inheritDoc}