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

Avoid throwing UIMAException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0uimaFIT
    • 3.0.0uimaFIT
    • uimaFIT
    • None

    Description

      uimaFIT throws a UIMAException in several places, apparently to avoid separate throws clauses for AnalysisEngineException, ResourceInitializationException and the likes. This is not good, because the different kinds of problems that can occur are somewhat hidden from a person using methods throwing UIMAException. It would be better to declare each exception separately.

      Examples:

      • CpePipeline.runPipeline
      • SimplePipeline.runPipeline
      • JCasFactory.createJCas

      Attachments

        Issue Links

          Activity

            People

              rec Richard Eckart de Castilho
              rec Richard Eckart de Castilho
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: