Class ElasticsearchCorruptionException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    CorruptStateException

    public class ElasticsearchCorruptionException
    extends java.io.IOException
    This exception is thrown when Elasticsearch detects an inconsistency in one of it's persistent files.
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ElasticsearchCorruptionException

        public ElasticsearchCorruptionException​(java.lang.String message)
        Parameters:
        message - the exception message.
      • ElasticsearchCorruptionException

        public ElasticsearchCorruptionException​(java.lang.Throwable ex)
        Creates a new ElasticsearchCorruptionException with the given exceptions stacktrace. This constructor copies the stacktrace as well as the message from the given Throwable into this exception.
        Parameters:
        ex - the exception cause