Package org.elasticsearch.index.translog
Class TragicExceptionHolder
org.elasticsearch.index.translog.TragicExceptionHolder
public class TragicExceptionHolder
extends
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()
void
ex)
Sets the tragic exception or if the tragic exception is already set adds passed exception as suppressed exceptionMethods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
TragicExceptionHolder
public TragicExceptionHolder()
-
-
Method Details
-
setTragicException
public void setTragicException( ex)Sets the tragic exception or if the tragic exception is already set adds passed exception as suppressed exception- Parameters:
ex
- tragic exception to set
-
get
public get()
-