public class ErrorDocException
extends java.lang.Exception
ErrorFileIndexingWriter
,
Serialized FormConstructor and Description |
---|
ErrorDocException(java.lang.String message,
java.lang.String errorDocType)
Constructs an
Exception with the specified detail message. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorDocType() |
java.lang.String[] |
getKeywordFieldNames()
Gets the names of the fields to be indexed as keywords.
|
java.lang.String |
getKeywordFieldValue(java.lang.String fieldName)
Gets the value of the field to be indexed as a keyword.
|
java.lang.String[] |
getTextFieldNames()
Gets the names of the fields to be indexed as text.
|
java.lang.String |
getTextFieldValue(java.lang.String fieldName)
Gets the value of the field to be indexed as text.
|
void |
putKeywordField(java.lang.String fieldName,
java.lang.String keyword)
Adds a field to be indexed as a keyword.
|
void |
putTextField(java.lang.String fieldName,
java.lang.String text)
Adds a field to be indexed as text.
|
public ErrorDocException(java.lang.String message, java.lang.String errorDocType)
Exception
with the specified detail message.message
- the detailed message.public java.lang.String getErrorDocType()
public void putKeywordField(java.lang.String fieldName, java.lang.String keyword)
fieldName
- The field namekeyword
- The field contentpublic java.lang.String[] getKeywordFieldNames()
public java.lang.String getKeywordFieldValue(java.lang.String fieldName)
fieldName
- The field namepublic void putTextField(java.lang.String fieldName, java.lang.String text)
fieldName
- The field nametext
- The field valuepublic java.lang.String[] getTextFieldNames()
public java.lang.String getTextFieldValue(java.lang.String fieldName)
fieldName
- The field name