Class ExceptionUtil


  • public abstract class ExceptionUtil
    extends Object
    • Method Detail

      • throwAsRuntimeException

        public static RuntimeException throwAsRuntimeException​(Throwable throwable)
        Throws the given Exception as RuntimeException
        Returns:
        null; this is just for IDEs to allow them detect the end of the control flow
      • currentStack

        public static String currentStack()
        This is for debugging/logging purpose only!
        Returns:
        The stack trace of the current Thread.