Class NonFatal

java.lang.Object
org.reactivestreams.tck.flow.support.NonFatal

public class NonFatal extends Object
Copy of scala.control.util.NonFatal in order to not depend on scala-library
  • Constructor Details

    • NonFatal

      private NonFatal()
  • Method Details

    • isNonFatal

      public static boolean isNonFatal(Throwable t)
      Returns true if the provided `Throwable` is to be considered non-fatal, or false if it is to be considered fatal
      Parameters:
      t - throwable to be matched for fatal-ness
      Returns:
      true if is a non-fatal throwable, false otherwise