return new IdList(Lists.newArrayList(s));
}
}
);
String error = analysis.getError();
PathAnalysis response;
try
{
response = new PathAnalysis((error != null) ? error : "", Lists.newArrayList(transformed), Lists.newArrayList(transformedPossibleCycles));
}
catch ( Exception e )
{
context.getExhibitor().getLog().add(ActivityLog.Type.ERROR, "Error performing analysis", e);
throw e;