TmfTraceUtils.getAnalysisModulesOfClass(trace, CriticalPathModule.class),
null);
if (module == null) {
- throw new IllegalStateException();
+ throw new IllegalStateException("View requires an analysis module"); //$NON-NLS-1$
}
module.schedule();
CriticalPathModule module = Iterables.<@Nullable CriticalPathModule> getFirst(
TmfTraceUtils.getAnalysisModulesOfClass(trace, CriticalPathModule.class), null);
if (module == null) {
- throw new IllegalStateException();
+ throw new IllegalStateException("View requires an analysis module"); //$NON-NLS-1$
}
final TmfGraph graph = module.getCriticalPath();