You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Mark Giaconia (JIRA)" <ji...@apache.org> on 2014/01/28 15:16:39 UTC

[jira] [Closed] (OPENNLP-638) EntityLinker setEntityLinkerProperties should throw Exception and be renamed to init(props)

     [ https://issues.apache.org/jira/browse/OPENNLP-638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Giaconia closed OPENNLP-638.
---------------------------------


fixed

> EntityLinker setEntityLinkerProperties should throw Exception and be renamed to init(props)
> -------------------------------------------------------------------------------------------
>
>                 Key: OPENNLP-638
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-638
>             Project: OpenNLP
>          Issue Type: Sub-task
>          Components: Entity Linker
>    Affects Versions: 1.6.0
>            Reporter: Mark Giaconia
>            Assignee: Mark Giaconia
>             Fix For: 1.6.0
>
>
> In order for exceptions to be reported as soon as possible, the setEntityLinkerProperties method in the EntityLinker interface should throw exceptions and be renamed to init(), so during EntityLinker factory reflective instantiation, the error is thrown from the Factory. 
> Documentation should reflect that EntityLinker impls should inittialize external resources in this method, hence the name change to init(..)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)