for (int i = 0; i < versionLabels.length; i++) {
versionHistory.addVersionLabel(newVersion.getName(), versionLabels[i], false);
}
}
} catch (ClassCastException cce) {
throw new ObjectContentManagerException("Cannot retrieve an object from a property path " + path);
} catch (PathNotFoundException pnfe) {
throw new ObjectContentManagerException("Cannot retrieve an object at path " + path, pnfe);
} catch (InvalidItemStateException iise) {
throw new ObjectContentManagerException("Cannot checking modified object at path " + path, iise);
} catch (javax.jcr.version.VersionException ve) {
throw new VersionException("Impossible to checkin the object " + path, ve);
} catch (UnsupportedRepositoryOperationException uroe) {
throw new VersionException("Cannot checkin unversionable node at path " + path, uroe);
} catch (LockException le) {