Class ExceptionUtil
- java.lang.Object
-
- network.oxalis.vefa.peppol.common.util.ExceptionUtil
-
public class ExceptionUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description ExceptionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T,E extends Exception>
Tperform(Class<E> cls, String message, PerformResult<T> action)static <E extends Exception>
voidperform(Class<E> cls, PerformAction action)static <T,E extends Exception>
Tperform(Class<E> cls, PerformResult<T> action)
-
-
-
Method Detail
-
perform
public static <E extends Exception> void perform(Class<E> cls, PerformAction action) throws E extends Exception
- Throws:
E extends Exception
-
perform
public static <T,E extends Exception> T perform(Class<E> cls, PerformResult<T> action) throws E extends Exception
- Throws:
E extends Exception
-
-