Package org.elasticsearch.index.translog
Class TragicExceptionHolder
java.lang.Object
org.elasticsearch.index.translog.TragicExceptionHolder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget()
void
Sets the tragic exception or if the tragic exception is already set adds passed exception as suppressed exception
-
Constructor Details
-
TragicExceptionHolder
public TragicExceptionHolder()
-
-
Method Details
-
setTragicException
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
-