Class ExceptionUtil

java.lang.Object
org.teamapps.common.util.ExceptionUtil

public class ExceptionUtil
extends java.lang.Object
  • Method Summary

    Modifier and Type Method Description
    static <T extends java.lang.RuntimeException>
    T
    softenedException​(java.lang.Throwable e)  
    static <V> V softenExceptions​(java.util.concurrent.Callable<V> callable)  
    static void softenExceptions​(RunnableWithExceptions runnable)  

    Methods inherited from class java.lang.Object

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

    • softenExceptions

      public static void softenExceptions​(RunnableWithExceptions runnable)
    • softenExceptions

      public static <V> V softenExceptions​(java.util.concurrent.Callable<V> callable)
    • softenedException

      public static <T extends java.lang.RuntimeException> T softenedException​(java.lang.Throwable e)