Class TragicExceptionHolder

java.lang.Object
org.elasticsearch.index.translog.TragicExceptionHolder

public class TragicExceptionHolder extends Object
  • Constructor Details

    • TragicExceptionHolder

      public TragicExceptionHolder()
  • Method Details

    • setTragicException

      public void setTragicException(Exception 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 Exception get()