Class ThrowableUtil


  • public final class ThrowableUtil
    extends java.lang.Object
    This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ThrowableUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void propagateIfFatal​(java.lang.Throwable t)
      Throw the Throwable if fatal.
      • Methods inherited from class java.lang.Object

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

      • ThrowableUtil

        private ThrowableUtil()
    • Method Detail

      • propagateIfFatal

        public static void propagateIfFatal​(java.lang.Throwable t)
        Throw the Throwable if fatal.

        Taken from RxJava throwIfFatal, which was taken from scala.