Package org.elasticsearch
Class ElasticsearchCorruptionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.elasticsearch.ElasticsearchCorruptionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CorruptStateException
This exception is thrown when Elasticsearch detects
an inconsistency in one of it's persistent files.
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorDescriptionElasticsearchCorruptionException(String message)
Creates a newElasticsearchCorruptionException
Creates a newElasticsearchCorruptionException
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
-
ElasticsearchCorruptionException
Creates a newElasticsearchCorruptionException
- Parameters:
message
- the exception message.
-
ElasticsearchCorruptionException
Creates a newElasticsearchCorruptionException
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
-