Class NonFatal
- java.lang.Object
-
- org.reactivestreams.tck.flow.support.NonFatal
-
public class NonFatal extends java.lang.Object
Copy of scala.control.util.NonFatal in order to not depend on scala-library
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isNonFatal(java.lang.Throwable t)
Returns true if the provided `Throwable` is to be considered non-fatal, or false if it is to be considered fatal
-
-
-
Method Detail
-
isNonFatal
public static boolean isNonFatal(java.lang.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
-
-