Class CorruptStateException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.elasticsearch.ElasticsearchCorruptionException
org.elasticsearch.gateway.CorruptStateException
All Implemented Interfaces:
java.io.Serializable

public class CorruptStateException
extends ElasticsearchCorruptionException
This exception is thrown when Elasticsearch detects an inconsistency in one of it's persistent states.
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    CorruptStateException​(java.lang.String message)
    Creates a new CorruptStateException
    CorruptStateException​(java.lang.Throwable ex)
    Creates a new CorruptStateException with the given exceptions stacktrace.
  • 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 Details

    • CorruptStateException

      public CorruptStateException​(java.lang.String message)
      Creates a new CorruptStateException
      Parameters:
      message - the exception message.
    • CorruptStateException

      public CorruptStateException​(java.lang.Throwable ex)
      Creates a new CorruptStateException 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