You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Marshall Schor <ms...@schor.com> on 2006/11/21 23:08:19 UTC

example annotator initialize - handling exceptions

The current examples don't "handle" exceptions - they just propagate them.

I'd like to put this sentence into the tutorial chapter about this:

If there is a problem retrieving the parameter values, the framework 
throws an
exception.  Generally annotators don%apos;t handle these, and just let them
  propagate up.

Is this OK? Is there something better to say?

-Marshall

Re: example annotator initialize - handling exceptions

Posted by Adam Lally <al...@alum.rpi.edu>.
On 11/21/06, Marshall Schor <ms...@schor.com> wrote:
> The current examples don't "handle" exceptions - they just propagate them.
>
> I'd like to put this sentence into the tutorial chapter about this:
>
> If there is a problem retrieving the parameter values, the framework
> throws an
> exception.  Generally annotators don%apos;t handle these, and just let them
>   propagate up.
>
> Is this OK? Is there something better to say?
>

Seems OK to me.

-Adam