Parse.insert method should not throw an InternalError 
------------------------------------------------------

                 Key: OPENNLP-426
                 URL: https://issues.apache.org/jira/browse/OPENNLP-426
             Project: OpenNLP
          Issue Type: Improvement
          Components: Parser
            Reporter: Joern Kottmann
            Assignee: Joern Kottmann
             Fix For: tools-1.5.3-incubating


The Parse.insert method should not throw an InternalError to indicate that it 
cannot handle the passed in Parse object.
The appropriate exception in this case would IllegalArgumentException.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to