Package org.elasticsearch
Class ElasticsearchCorruptionException
org.elasticsearch.ElasticsearchCorruptionException
- All Implemented Interfaces:
- Direct Known Subclasses:
CorruptStateException
public class ElasticsearchCorruptionException
extends
This exception is thrown when Elasticsearch detects
an inconsistency in one of it's persistent files.
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorDescriptionmessage)
Creates a newElasticsearchCorruptionException
ex)
Creates a newElasticsearchCorruptionException
with the given exceptions stacktrace. -
Method Summary
Methods inherited from class java.lang.
, , , , , , , , , , , ,
Methods inherited from class java.lang.
, , , , , , , , ,
-
Constructor Details
-
ElasticsearchCorruptionException
public ElasticsearchCorruptionException( message)Creates a newElasticsearchCorruptionException
- Parameters:
message
- the exception message.
-
ElasticsearchCorruptionException
public ElasticsearchCorruptionException( ex)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
-