Version version = versionHistory.getVersion(name);
return new JcrVersion(node, version, typeManager, pathManager, typeHandlerManager);
}
catch (UnsupportedRepositoryOperationException e) {
log.debug(e.getMessage(), e);
throw new CmisObjectNotFoundException(e.getMessage(), e);
}
catch (VersionException e) {
log.debug(e.getMessage(), e);
throw new CmisObjectNotFoundException(e.getMessage(), e);
}
catch (RepositoryException e) {
log.debug(e.getMessage(), e);
throw new CmisRuntimeException(e.getMessage(), e);
}