Replaces throws Exception with throws IOException.
Using such generic exceptions prevents calling methods from
handling true, system-generated exceptions differently than
application-generated errors.
Or, as the former lead of our former project said:
"Don't mess with Exception"
Change-Id: I61f517b8721a5e660d92b7cba7bf97c1382381af
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/65333
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
SafeRunner.run(new ISafeRunnable() {
@Override
- public void run() throws Exception {
+ public void run() throws IOException {
if (name != null) {
Bundle bundle = Platform.getBundle(name);
if (bundle != null) {