Class ExceptionUtils


  • public class ExceptionUtils
    extends Object
    Exception Utils
    • Method Detail

      • getRootCause

        public static Throwable getRootCause​(Throwable t)
        Returns the root cause of a Throwable
        Parameters:
        t - the top level Throwable
        Returns:
        the root cause of t, or t itself if it has no cause.