Class TragicExceptionHolder

org.elasticsearch.index.translog.TragicExceptionHolder

public class TragicExceptionHolder extends
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
     
    void
     ex)
    Sets the tragic exception or if the tragic exception is already set adds passed exception as suppressed exception

    Methods 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()