} catch (RevisionNotFoundException e) {
// Can not be, as we just created it. If it unexpectedly is, this is fatal
throwInternalError(e, uri.toString());
} catch (ResourceManagerException e) {
if (e.getStatus() == ResourceManagerException.ERR_RESOURCE_EXISTS) {
throw new RevisionAlreadyExistException(uri.toString(), revisionDescriptor.getRevisionNumber());
} else {
throwInternalError(e, uri.toString());
}
}
}