Class DefaultExceptionMapper<E extends Throwable>
java.lang.Object
ch.tocco.nice2.persist.core.api.exec.DefaultExceptionMapper<E>
- All Implemented Interfaces:
ExceptionMapper<E>
public class DefaultExceptionMapper<E extends Throwable>
extends Object
implements ExceptionMapper<E>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Throwable>
TcreateWrappedException
(Throwable e, Class<T> type) mapException
(Throwable throwable)
-
Constructor Details
-
DefaultExceptionMapper
-
-
Method Details
-
mapException
- Specified by:
mapException
in interfaceExceptionMapper<E extends Throwable>
-
getTargetType
- Specified by:
getTargetType
in interfaceExceptionMapper<E extends Throwable>
-
createWrappedException
-