Analysis modules now declare why they fail.
Change-Id: Idf4ec5ac0a0c7b96317512432ca8d9ab0ee4c61c
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/68875
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
ITmfTrace trace = getTrace();
if (trace == null) {
- throw new IllegalStateException();
+ throw new IllegalStateException("Analysis requires a trace"); //$NON-NLS-1$
}
/*
* This analysis depends on the LTTng kernel analysis, so it's added to
ITmfTrace trace = getTrace();
if (trace == null) {
- throw new IllegalStateException();
+ throw new IllegalStateException("Analysis requires a trace"); //$NON-NLS-1$
}
/*
* This analysis depends on the LTTng kernel analysis, so it's added to