commit | 5436ff9c233be1c0ef0216185fe473a09c858f92 | [log] [tgz] |
---|---|---|
author | Dariusz Luksza <dariusz@luksza.org> | Thu Feb 05 17:25:38 2015 +0100 |
committer | Dariusz Luksza <dariusz@luksza.org> | Fri Feb 06 09:55:27 2015 +0100 |
tree | 2642a547f91821bf304c128dd50bddcb8cba7f85 | |
parent | c2ceaccd55b13d73287a1d4149fbbd0e5ab6bc65 [diff] |
Throw IOException from JarScanner constructor The constructor of JarScanner is throwing an InvalidPluginException when an IOException occurs while loading a JAR file. This exception is too specific here and it should be the responsibility of the caller to decide whether a given JAR file is a plugin or not. Therefore this constructor should throw a generic IOException instead. Change-Id: I60099f9cec0837e6bf9a72af0d085f9731495c14 Signed-off-by: Dariusz Luksza <dariusz@luksza.org>