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 newCorruptStateExceptionCorruptStateException(java.lang.Throwable ex)Creates a newCorruptStateExceptionwith 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, toStringMethods 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 newCorruptStateException- Parameters:
message- the exception message.
-
CorruptStateException
public CorruptStateException(java.lang.Throwable ex)Creates a newCorruptStateExceptionwith the given exceptions stacktrace. This constructor copies the stacktrace as well as the message from the givenThrowableinto this exception.- Parameters:
ex- the exception cause
-