Class NonFatal
java.lang.Object
org.reactivestreams.tck.flow.support.NonFatal
Copy of scala.control.util.NonFatal in order to not depend on scala-library
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Returns true if the provided `Throwable` is to be considered non-fatal, or false if it is to be considered fatal
-
Constructor Details
-
NonFatal
private NonFatal()
-
-
Method Details
-
isNonFatal
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
-