Skip to content

Apache Lucene open-source search software

fix javadoc

Mark Robert Millera5f1159a6f64
diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/HyphenationCompoundWordTokenFilter.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/HyphenationCompoundWordTokenFilter.java
index 3716b290867..843da9218c6 100644
--- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/HyphenationCompoundWordTokenFilter.java
+++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/HyphenationCompoundWordTokenFilter.java
@@ -132,7 +132,7 @@ public class HyphenationCompoundWordTokenFilter extends
*
* @param hyphenationFilename the filename of the XML grammar to load
* @return An object representing the hyphenation patterns
- * @throws Exception
+ * @throws IOException
*/
public static HyphenationTree getHyphenationTree(String hyphenationFilename)
throws IOException {
@@ -144,7 +144,7 @@ public class HyphenationCompoundWordTokenFilter extends
*
* @param hyphenationFile the file of the XML grammar to load
* @return An object representing the hyphenation patterns
- * @throws Exception
+ * @throws IOException
*/
public static HyphenationTree getHyphenationTree(File hyphenationFile)
throws IOException {
@@ -156,7 +156,7 @@ public class HyphenationCompoundWordTokenFilter extends
*
* @param hyphenationSource the InputSource pointing to the XML grammar
* @return An object representing the hyphenation patterns
- * @throws Exception
+ * @throws IOException
*/
public static HyphenationTree getHyphenationTree(InputSource hyphenationSource)
throws IOException {