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
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(String message)Creates a newCorruptStateExceptionCorruptStateException(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, toString
-
-
-
-
Constructor Detail
-
CorruptStateException
public CorruptStateException(String message)
Creates a newCorruptStateException- Parameters:
message- the exception message.
-
CorruptStateException
public CorruptStateException(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
-
-