com.groupdocs.search.events

Class IndexErrorEventArgs



  • public class IndexErrorEventArgs
    extends BaseIndexEventArgs

    Represents arguments for the event of index error occurred.

    • Constructor Detail

      • IndexErrorEventArgs

        protected IndexErrorEventArgs(com.aspose.ms.System.Guid indexId,
                           String indexFolder,
                           int status,
                           String message,
                           boolean isCritical)

        Initializes a new instance of the IndexErrorEventArgs class.

        Parameters:
        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.
    • Method Detail

      • getMessage

        public final String getMessage()

        Gets the error message.

        Returns:
        The error message.
      • isCritical

        public final boolean isCritical()

        Gets a flag indicating that the error occurred is critical and the index should be restarted.

        Returns:
        The flag indicating that the error occurred is critical and the index should be restarted.
      • create

        protected static IndexErrorEventArgs create(com.aspose.ms.System.Guid indexId,
                                 String indexFolder,
                                 int status,
                                 String message,
                                 boolean isCritical)