throw new IllegalArgumentException("Arguments must not be null.");
}
if ((targetType & REPORT_TSV) != 0) {
this.lister = new SeparatedListingCreator();
} else if ((targetType & REPORT_XML) != 0) {
this.lister = new XmlCreator();
} else if ((targetType & REPORT_OTHER) != 0) {
this.lister = new XmlCreator();
// NO writing.
this.targetFile = null;
} else {
throw new IllegalArgumentException(
"targettype has incorrect value.");