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();
}
}