[ https://issues.apache.org/jira/browse/UIMA-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742378#action_12742378 ]
Adam Lally commented on UIMA-1417: ---------------------------------- I think the documentation is wrong and should be changed. > 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 > Original Estimate: 0.5h > Remaining Estimate: 0.5h > > 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.