runEKBPreCommitHooks(commit);
if (check) {
performSanityChecks(commit);
}
EKBException exception = null;
ConvertedCommit converted = edbConverter.convertEKBCommit(commit);
try {
performPersisting(converted, commit);
runEKBPostCommitHooks(commit);
} catch (EKBException e) {
exception = e;