public class IndexErrorEventArgs extends BaseIndexEventArgs
Modifier | Constructor and Description |
---|---|
protected |
IndexErrorEventArgs(com.aspose.ms.System.Guid indexId,
String indexFolder,
IndexStatus status,
String message,
boolean isCritical)
Initializes a new instance of the
IndexErrorEventArgs class. |
Modifier and Type | Method and Description |
---|---|
protected static IndexErrorEventArgs |
create(com.aspose.ms.System.Guid indexId,
String indexFolder,
IndexStatus status,
String message,
boolean isCritical) |
String |
getMessage()
Gets the error message.
|
boolean |
isCritical()
Gets a flag indicating that the error occurred is critical and the index should be restarted.
|
create, getIndexFolder, getIndexId, getStatus, getTime
protected IndexErrorEventArgs(com.aspose.ms.System.Guid indexId, String indexFolder, IndexStatus status, String message, boolean isCritical)
Initializes a new instance of the IndexErrorEventArgs
class.
indexId
- The index ID.indexFolder
- The index folder.status
- The index status.message
- The message.isCritical
- The flag indicating that the error occurred is critical.public final String getMessage()
Gets the error message.
public final boolean isCritical()
Gets a flag indicating that the error occurred is critical and the index should be restarted.
protected static IndexErrorEventArgs create(com.aspose.ms.System.Guid indexId, String indexFolder, IndexStatus status, String message, boolean isCritical)