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

Mark Giaconia commented on OPENNLP-655:
---------------------------------------

I chose Exception because I didn't think IOException would cover all cases for 
what people might do inside the init method, for instance getting a SQL 
resource will throw SQLException

> 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