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. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
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
-