Package org.teamapps.common.util
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>
TsoftenedException(java.lang.Throwable e)static <V> VsoftenExceptions(java.util.concurrent.Callable<V> callable)static voidsoftenExceptions(RunnableWithExceptions runnable)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
softenExceptions
-
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)
-