@Override public void synchronize(Synchronization synchronization, KyotoFileProcessor fileProcessor) { FileProcessor adapted = null; if (fileProcessor != null) { adapted = new FileProcessorAdapter(fileProcessor); } errorHandler.wrapVoidCall( delegate.synchronize(synchronization.value(), adapted), "Could not " + synchronization + " synchronize DB " + descriptor + " with " + fileProcessor); }
@Override public void begin(Synchronization synchronization) { errorHandler.wrapVoidCall( delegate.begin_transaction(synchronization.value()), "Could not begin transaction with synchronization: " + synchronization); }