Class NestedThrowable.Util

    • Constructor Detail

      • Util

        public Util()
    • Method Detail

      • toString

        public static String toString​(NestedThrowable nt)
        Prints the exception message and its nested exception message.
        Returns:
        String representation of the exception
      • printStackTrace

        public static void printStackTrace​(NestedThrowable nt,
                                           PrintStream s)
        Prints the stack trace associated with this exception and its nested exception.
        Parameters:
        s - PrintStream
      • printStackTrace

        public static void printStackTrace​(NestedThrowable nt,
                                           PrintWriter w)
        Prints the stack trace associated with this exception and its nested exception.
        Parameters:
        w - PrintWriter