Class CorruptIndexException

  • All Implemented Interfaces:
    Serializable

    public class CorruptIndexException
    extends IOException
    This exception is thrown when Lucene detects an inconsistency in the index.
    See Also:
    Serialized Form
    • Constructor Detail

      • CorruptIndexException

        public CorruptIndexException​(String message,
                                     DataInput input)
        Create exception with a message only
      • CorruptIndexException

        public CorruptIndexException​(String message,
                                     DataOutput output)
        Create exception with a message only
      • CorruptIndexException

        public CorruptIndexException​(String message,
                                     DataInput input,
                                     Throwable cause)
        Create exception with message and root cause.
      • CorruptIndexException

        public CorruptIndexException​(String message,
                                     DataOutput output,
                                     Throwable cause)
        Create exception with message and root cause.
      • CorruptIndexException

        public CorruptIndexException​(String message,
                                     String resourceDescription)
        Create exception with a message only
      • CorruptIndexException

        public CorruptIndexException​(String message,
                                     String resourceDescription,
                                     Throwable cause)
        Create exception with message and root cause.
    • Method Detail

      • getResourceDescription

        public String getResourceDescription()
        Returns a description of the file that was corrupted
      • getOriginalMessage

        public String getOriginalMessage()
        Returns the original exception message without the corrupted file description.