Package com.mscharhag.et.impl
Class DefaultExceptionMappingConfigurer
- java.lang.Object
-
- com.mscharhag.et.impl.DefaultExceptionMappingConfigurer
-
- All Implemented Interfaces:
ExceptionMappingConfigurer
public class DefaultExceptionMappingConfigurer extends java.lang.Object implements ExceptionMappingConfigurer
-
-
Constructor Summary
Constructors Constructor Description DefaultExceptionMappingConfigurer(com.mscharhag.et.impl.ExceptionMappings exceptionMappings, java.util.List<java.lang.Class<? extends java.lang.Exception>> sourceExceptionClasses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultExceptionTranslatorConfigurerto(java.lang.Class<? extends java.lang.RuntimeException> targetException)DefaultExceptionTranslatorConfigurerusing(TargetExceptionResolver resolver)
-
-
-
Method Detail
-
to
public DefaultExceptionTranslatorConfigurer to(java.lang.Class<? extends java.lang.RuntimeException> targetException)
- Specified by:
toin interfaceExceptionMappingConfigurer
-
using
public DefaultExceptionTranslatorConfigurer using(TargetExceptionResolver resolver)
- Specified by:
usingin interfaceExceptionMappingConfigurer
-
-