analysis.xml: Remove "throws Exception"
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Thu, 28 Jan 2016 03:43:58 +0000 (22:43 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Thu, 28 Jan 2016 16:25:32 +0000 (11:25 -0500)
commit4dfd44fec48f3c9d76d491522bf51917755c1377
tree6974486d2bff0ab4ca787cfaaab0169ad51f80a6
parentbc21b431d45d00f5396cff23c066c1316183c8d4
analysis.xml: Remove "throws Exception"

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>
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/src/org/eclipse/tracecompass/tmf/analysis/xml/core/module/XmlAnalysisModuleSource.java
This page took 0.037381 seconds and 5 git commands to generate.