package net.jaekl.cfb;
+// Comparative FindBugs
+//
+// Tool to compare successive runs of FindBugs,
+// flagging the change from one run to the next.
+//
+// Copyright (C) 2015 Christian Jaekl
+
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import net.jaekl.cfb.db.CfbSchema;
import net.jaekl.cfb.db.driver.DbDriver;
import net.jaekl.cfb.db.driver.PostgresqlDriver;
+import net.jaekl.qd.xml.XmlParseException;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.GnuParser;
if (null != findBugsDir) {
m_fbDir = new File(findBugsDir);
}
- }
+ }
- void doMain(PrintWriter pw, String[] args) throws SQLException, IOException {
+ void doMain(PrintWriter pw, String[] args) throws SQLException, IOException, XmlParseException {
initArgs(); // read environment and system properties
if ( ! parseArgs(pw, args) ) {
return;
try (PrintWriter pw = new PrintWriter(System.out)){
cfb.doMain(pw, args);
pw.flush();
- } catch (SQLException | IOException exc) {
+ } catch (SQLException | IOException | XmlParseException exc) {
exc.printStackTrace();
}
}