uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nikolay georgiev (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Created: (UIMA-1417) ResourceConfigurationException to be thrown from the initialize(context) method
Date Fri, 03 Jul 2009 12:40:47 GMT
ResourceConfigurationException to be thrown from the initialize(context) method
-------------------------------------------------------------------------------

                 Key: UIMA-1417
                 URL: https://issues.apache.org/jira/browse/UIMA-1417
             Project: UIMA
          Issue Type: Improvement
          Components: Core Java Framework, Documentation
    Affects Versions: 2.2.2
         Environment: Windows XP, Java 1.5
            Reporter: nikolay georgiev


Hello,

In the UIMA Tutorial and Developer's Guide, section "Throwing Exceptions from Annotators",
it is written that one can throw 3 kinds of exceptions, one of which is the ResourceConfigurationException.
And it is written that is good to read the configuration parameters in the inialize() method,
but unfortunately the initialize() method can throw only ResourceInitializationException,
so I am not able to throw the ResourceConfigurationException. The method signature is:

public void initialize(UimaContext context) throws ResourceInitializationException

Can you add also the ResourceConfigurationException or correct the documentation?


Greetings,
Nikolay

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message