Class ExceptionUtils


  • public class ExceptionUtils
    extends org.apache.commons.lang3.exception.ExceptionUtils
    Utility methods for exceptions.
    Author:
    Alfonso Vásquez
    • Constructor Summary

      Constructors 
      Constructor Description
      ExceptionUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T getThrowableOfType​(Throwable throwable, Class<T> type)  
      • Methods inherited from class org.apache.commons.lang3.exception.ExceptionUtils

        getCause, getCause, getDefaultCauseMethodNames, getMessage, getRootCause, getRootCauseMessage, getRootCauseStackTrace, getStackFrames, getStackTrace, getThrowableCount, getThrowableList, getThrowables, hasCause, indexOfThrowable, indexOfThrowable, indexOfType, indexOfType, printRootCauseStackTrace, printRootCauseStackTrace, printRootCauseStackTrace, removeCommonFrames, rethrow, throwableOfThrowable, throwableOfThrowable, throwableOfType, throwableOfType, wrapAndThrow
    • Constructor Detail

      • ExceptionUtils

        public ExceptionUtils()
    • Method Detail

      • getThrowableOfType

        public static <T> T getThrowableOfType​(Throwable throwable,
                                               Class<T> type)