Skip to content

Apache Lucene open-source search software

document thrown exception in javadoc

Daniel Naberf2d4c33dc397
diff --git a/src/java/org/apache/lucene/document/Field.java b/src/java/org/apache/lucene/document/Field.java
index bf39f92a63f..8fc1419f4fd 100644
--- a/src/java/org/apache/lucene/document/Field.java
+++ b/src/java/org/apache/lucene/document/Field.java
@@ -418,7 +418,8 @@ public final class Field implements Serializable {
*
* @param name The name of the field
* @param value The binary value
- * @param store How <code>value</code> should be stored (compressed or not.)
+ * @param store How <code>value</code> should be stored (compressed or not)
+ * @throws IllegalArgumentException if store is <code>Store.NO</code>
*/
public Field(String name, byte[] value, Store store) {
if (name == null)