Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-1417

ResourceConfigurationException to be thrown from the initialize(context) method

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.2
    • 2.3
    • None
    • Windows XP, Java 1.5

    Description

      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

      Attachments

        Activity

          People

            schor Marshall Schor
            nikolayg nikolay georgiev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified