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:
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 newCorruptStateException
CorruptStateException(java.lang.Throwable ex)
Creates a newCorruptStateException
with the given exceptions stacktrace.
-
-
-
Constructor Detail
-
CorruptStateException
public CorruptStateException(java.lang.String message)
Creates a newCorruptStateException
- Parameters:
message
- the exception message.
-
CorruptStateException
public CorruptStateException(java.lang.Throwable ex)
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
-
-