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/18 15:54:19 UTC

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

Mark Giaconia created OPENNLP-638:
-------------------------------------

             Summary: 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


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)