Drawable drawable = (Drawable)classifier.getClassifier();
mOutput.write(toPMML(drawable.graph()));
}
else
{
throw new ActivityUserException(new InvalidInputValueException(
INPUT_CLASSIFIER,
Drawable.class,
classifier.getClassifier().getClass()));
}
}
catch (PipeClosedException e)
{
iterativeStageComplete();
}
catch (PipeIOException e)
{
throw new ActivityProcessingException(e);
}
catch (PipeTerminatedException e)
{
throw new ActivityTerminatedException();
}
catch (Exception e)
{
throw new ActivityUserException(e);
}
}