Ejemplo n.º 1
0
 @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);
 }
Ejemplo n.º 2
0
 @Override
 public void begin(Synchronization synchronization) {
   errorHandler.wrapVoidCall(
       delegate.begin_transaction(synchronization.value()),
       "Could not begin transaction with synchronization: " + synchronization);
 }