Package org.elasticsearch.gateway
Class CorruptStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.elasticsearch.ElasticsearchCorruptionException
org.elasticsearch.gateway.CorruptStateException
- All Implemented Interfaces:
Serializable
This exception is thrown when Elasticsearch detects
an inconsistency in one of it's persistent states.
- See Also:
-
Constructor Summary
ConstructorDescriptionCorruptStateException
(String message) Creates a newCorruptStateException
Creates a newCorruptStateException
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
-
Constructor Details
-
CorruptStateException
Creates a newCorruptStateException
- Parameters:
message
- the exception message.
-
CorruptStateException
Creates a newCorruptStateException
with the given exceptions stacktrace. This constructor copies the stacktrace as well as the message from the givenThrowable
into this exception.- Parameters:
ex
- the exception cause
-