this.waitingHandler = waitingHandler;
this.proteomicAnalysis = proteomicAnalysis;
this.idFilter = idFilter;
this.metrics = metrics;
if (waitingHandler instanceof WaitingDialog) {
exceptionHandler = new WaitingDialogExceptionHandler((WaitingDialog) waitingHandler, "http://code.google.com/p/peptide-shaker/issues/list");
} else {
exceptionHandler = new CommandLineExceptionHandler();
}
}