Class ThrowableUtil

java.lang.Object
io.opentelemetry.sdk.internal.ThrowableUtil

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

    • ThrowableUtil

      private ThrowableUtil()
  • Method Details

    • propagateIfFatal

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

      Taken from RxJava throwIfFatal, which was taken from scala.