[
https://issues.apache.org/jira/browse/UIMA-6210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17074070#comment-17074070
]
Jaroslaw Cwiklik commented on UIMA-6210:
----------------------------------------
The BaseStatusCallbackListener interface has
/**
* Called when the processing of an entire collection has completed.
*/
public void collectionProcessComplete();
perhaps should add:
default void collectionProcessCompleteFailed(Exception cause) {
// do nothing?? Error has already been logged
}
-Jerry
> CPE swallows exceptions thrown in collectionProcessComplete
> -----------------------------------------------------------
>
> Key: UIMA-6210
> URL: https://issues.apache.org/jira/browse/UIMA-6210
> Project: UIMA
> Issue Type: Improvement
> Components: Collection Processing
> Reporter: Richard Eckart de Castilho
> Assignee: Jaroslaw Cwiklik
> Priority: Major
>
> When an analysis engine is deployed into a CPE and run, then exceptions
> thrown by the {{collectionProcessComplete}} method of the analysis engine are
> swallowed by the CPE {{ProcessingContainer_Impl}}.
> Instead of being swallowed, I would expect them to be reported to any
> {{StatusCallbackListener}} registered with the CPE.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)