private void writeOutput(final Task<Diff> result){
  try {
    long time, start=System.currentTimeMillis();
    dumpWriter.process(result);
    time=System.currentTimeMillis() - start;
    SQLConsumerLogMessages.logDiffProcessed(logger,result,time);
  }
 catch (  SQLConsumerException e) {
    SQLConsumerLogMessages.logSQLConsumerException(logger,e);
    e.printStackTrace();
  }
catch (  ConfigurationException e) {
    throw new RuntimeException(e);
  }
catch (  IOException e) {
    throw new RuntimeException(e);
  }
}

private void writeOutput ( final Task < Diff > result ) { try { long time , start = System . currentTimeMillis ( ) ; dumpWriter . process ( result ) ; time = System . currentTimeMillis ( ) - start ; SQLConsumerLogMessages . logDiffProcessed ( logger , result , time ) ; } catch ( SQLConsumerException e ) { SQLConsumerLogMessages . logSQLConsumerException ( logger , e ) ; e . printStackTrace ( ) ; } catch ( ConfigurationException e ) { throw new RuntimeException ( e ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } }
forwards the difftask to the encoding modules .
