public class ExceptionUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
ExceptionUtil.Block<R,E1 extends java.lang.Exception,E2 extends java.lang.Exception,E3 extends java.lang.Exception> |
static interface |
ExceptionUtil.CatchBlock |
static interface |
ExceptionUtil.FinallyBlock |
Modifier and Type | Method and Description |
---|---|
static <R,E1 extends java.lang.Exception,E2 extends java.lang.Exception,E3 extends java.lang.Exception> |
runSafely(ExceptionUtil.Block<R,E1,E2,E3> block,
ExceptionUtil.CatchBlock catchBlock,
ExceptionUtil.FinallyBlock finallyBlock,
java.lang.Class<? extends E1> e1Class,
java.lang.Class<? extends E2> e2Class,
java.lang.Class<? extends E3> e3Class) |
static <R,E1 extends java.lang.Exception,E2 extends java.lang.Exception> |
runSafely(ExceptionUtil.Block<R,E1,E2,java.lang.RuntimeException> block,
ExceptionUtil.CatchBlock catchBlock,
ExceptionUtil.FinallyBlock finallyBlock,
java.lang.Class<? extends E1> e1Class,
java.lang.Class<? extends E2> e2Class) |
static <R,E1 extends java.lang.Exception> |
runSafely(ExceptionUtil.Block<R,E1,java.lang.RuntimeException,java.lang.RuntimeException> block,
ExceptionUtil.CatchBlock catchBlock,
ExceptionUtil.FinallyBlock finallyBlock,
java.lang.Class<? extends E1> e1Class) |
static <R> R |
runSafely(ExceptionUtil.Block<R,java.lang.RuntimeException,java.lang.RuntimeException,java.lang.RuntimeException> block,
ExceptionUtil.CatchBlock catchBlock,
ExceptionUtil.FinallyBlock finallyBlock) |
public static <R> R runSafely(ExceptionUtil.Block<R,java.lang.RuntimeException,java.lang.RuntimeException,java.lang.RuntimeException> block, ExceptionUtil.CatchBlock catchBlock, ExceptionUtil.FinallyBlock finallyBlock)
public static <R,E1 extends java.lang.Exception> R runSafely(ExceptionUtil.Block<R,E1,java.lang.RuntimeException,java.lang.RuntimeException> block, ExceptionUtil.CatchBlock catchBlock, ExceptionUtil.FinallyBlock finallyBlock, java.lang.Class<? extends E1> e1Class) throws E1 extends java.lang.Exception
E1 extends java.lang.Exception
public static <R,E1 extends java.lang.Exception,E2 extends java.lang.Exception> R runSafely(ExceptionUtil.Block<R,E1,E2,java.lang.RuntimeException> block, ExceptionUtil.CatchBlock catchBlock, ExceptionUtil.FinallyBlock finallyBlock, java.lang.Class<? extends E1> e1Class, java.lang.Class<? extends E2> e2Class) throws E1 extends java.lang.Exception, E2 extends java.lang.Exception
E1 extends java.lang.Exception
public static <R,E1 extends java.lang.Exception,E2 extends java.lang.Exception,E3 extends java.lang.Exception> R runSafely(ExceptionUtil.Block<R,E1,E2,E3> block, ExceptionUtil.CatchBlock catchBlock, ExceptionUtil.FinallyBlock finallyBlock, java.lang.Class<? extends E1> e1Class, java.lang.Class<? extends E2> e2Class, java.lang.Class<? extends E3> e3Class) throws E1 extends java.lang.Exception, E2 extends java.lang.Exception, E3 extends java.lang.Exception
E1 extends java.lang.Exception