tmf: Make IOnDemandAnalysis#execute() throw an exception
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Tue, 26 Apr 2016 21:49:45 +0000 (17:49 -0400)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Wed, 4 May 2016 21:27:39 +0000 (17:27 -0400)
commitfb88f89d0a257f7003a0b12a8a15ee3cbeff3087
tree662e48a6d6181ab47119343ddef851dac3158410
parent6fd57ff7f1f76f7e5c94774df48dfbe1768b27b3
tmf: Make IOnDemandAnalysis#execute() throw an exception

If execution of an analysis yields an error, it should be reported
to the user. This can be done using a custom exception.

Avoid @Nullable parameters while at it, and document what can be
used instead.

Change-Id: I499ec1938339f6fd6c00e5fb0b5ecf25f082f7ff
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/71563
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/analysis/ondemand/IOnDemandAnalysis.java
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/analysis/ondemand/OnDemandAnalysisException.java [new file with mode: 0644]
This page took 0.024393 seconds and 5 git commands to generate.