OPENNLP-669 Removed two @params, and added @throws and added to the function as a throw-ed error.

git-svn-id: https://svn.apache.org/repos/asf/opennlp/trunk@1580131 13f79535-47bb-0310-9956-ffa450edef68