Class ExceptionHelper


  • public class ExceptionHelper
    extends Object

    Utility class for exceptions

    Copyright 2013 (C) by Martin Ganserer

    Version:
    1.0.0
    Author:
    Martin Ganserer
    • Method Detail

      • getRootCause

        public static Throwable getRootCause​(Throwable t)
        Parameters:
        t -
        Returns:
        the cause of the given Throwable or the exception itself if no cause exists