Class TragicExceptionHolder


  • public class TragicExceptionHolder
    extends java.lang.Object
    • Method Summary

      Modifier and Type Method Description
      java.lang.Exception get()  
      void setTragicException​(java.lang.Exception 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.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TragicExceptionHolder

        public TragicExceptionHolder()
    • Method Detail

      • setTragicException

        public void setTragicException​(java.lang.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 java.lang.Exception get()