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.IOExceptionThis 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 newElasticsearchCorruptionExceptionElasticsearchCorruptionException(java.lang.Throwable ex)Creates a newElasticsearchCorruptionExceptionwith 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 newElasticsearchCorruptionExceptionwith the given exceptions stacktrace. This constructor copies the stacktrace as well as the message from the givenThrowableinto this exception.- Parameters:
ex- the exception cause
-
-