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