Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catching UimaException's #9

Open
CollinM opened this issue Oct 25, 2013 · 1 comment
Open

Catching UimaException's #9

CollinM opened this issue Oct 25, 2013 · 1 comment

Comments

@CollinM
Copy link
Member

CollinM commented Oct 25, 2013

While the powers of type safety keep the exploration side of the system robust, the execution side of the system is still dependent on user-supplied components that we have no control over. So, let's add a try-catch in the relevant piece of executor code to prevent a full system crash whenever a component misbehaves. However, this error should not be caught silently, the result should be logged somewhere for review. The branch/trace that was being executed is now a dead-end and that information needs to be passed back to the explorer/controller so that the branch can be avoided and prevent any downstream errors.

@CollinM
Copy link
Member Author

CollinM commented Oct 29, 2013

I'm going to list relevant exceptions as I (accidentally) create them while developing pipelines:

  • org.apache.uima.analysis_engine.AnalysisEngineProcessException

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant