Class 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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