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