Class ExceptionUtils

java.lang.Object
org.apache.commons.lang3.exception.ExceptionUtils
org.craftercms.core.util.ExceptionUtils

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExceptionUtils

      public ExceptionUtils()
  • Method Details

    • getThrowableOfType

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