X-Git-Url: http://jaekl.net/gitweb/?p=cfb.git;a=blobdiff_plain;f=prod%2Fnet%2Fjaekl%2Fcfb%2Fanalyze%2FMessageMap.java;h=635e79df21c86b2e546e3ddf36869c2b0a426467;hp=f4936b004c1b7617a7a52d604b7de6fe7867118f;hb=e6448f6cf67e5a5409f24b531c2443b3bed53b52;hpb=a4a577abc3f9b2b1147caafd1cb39fa8c2622cd4 diff --git a/prod/net/jaekl/cfb/analyze/MessageMap.java b/prod/net/jaekl/cfb/analyze/MessageMap.java index f4936b0..635e79d 100644 --- a/prod/net/jaekl/cfb/analyze/MessageMap.java +++ b/prod/net/jaekl/cfb/analyze/MessageMap.java @@ -94,7 +94,7 @@ public class MessageMap { } // Load the list of bug patterns and categories from the FindBugs messages.xml file. - public void load(File findBugsDir, Locale locale) throws FileNotFoundException, IOException, SAXException + public void load(File findBugsDir, Locale locale) throws FBMsgFileNotFoundException, IOException, SAXException { m_findBugsDir = findBugsDir; @@ -108,7 +108,7 @@ public class MessageMap { } if (! msgXml.canRead()) { - throw new FileNotFoundException(msgXml.getAbsolutePath()); + throw new FBMsgFileNotFoundException(msgXml.getAbsolutePath()); } parse(new InputSource(new FileInputStream(msgXml)));