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

Joern Kottmann commented on OPENNLP-655:
----------------------------------------

In the other components we either throw an IOException or an unchecked 
Exception. To be uniform we should do it the same way here. What do you think?

The user calling this usually doesn't have a good chance recovering from an 
error anyway.

> Entity Linker Factory should not throw "Exception"
> --------------------------------------------------
>
>                 Key: OPENNLP-655
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-655
>             Project: OpenNLP
>          Issue Type: Task
>          Components: Entity Linker
>            Reporter: Joern Kottmann
>            Assignee: Mark Giaconia
>             Fix For: 1.6.0
>
>
> The entity linker factory should not just throw Exception. Other components 
> just throw IOException during instantiation if something goes wrong. Or 
> Runtime Exceptions, e.g. if class loading fails.
> Would it be sufficient to declare IOException?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to