uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-3562) Avoid throwing UIMAException
Date Wed, 01 Aug 2018 22:17:01 GMT

    [ https://issues.apache.org/jira/browse/UIMA-3562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16566069#comment-16566069
] 

ASF GitHub Bot commented on UIMA-3562:
--------------------------------------

asfgit commented on issue #26: [UIMA-3562] Avoid throwing UIMAException
URL: https://github.com/apache/uima-uimafit/pull/26#issuecomment-409742841
 
 
   
   Refer to this link for build results (access rights to CI server needed): 
   https://builds.apache.org/job/Apache%20UIMA%20uimaFIT%20(GitHub%20PR)/64/
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Avoid throwing UIMAException
> ----------------------------
>
>                 Key: UIMA-3562
>                 URL: https://issues.apache.org/jira/browse/UIMA-3562
>             Project: UIMA
>          Issue Type: Bug
>          Components: uimaFIT
>    Affects Versions: 2.0.0uimaFIT
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>            Priority: Minor
>             Fix For: 3.0.0uimaFIT
>
>
> 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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message