Class ExceptionConfigurators
- java.lang.Object
-
- de.quantummaid.httpmaid.exceptions.ExceptionConfigurators
-
public final class ExceptionConfigurators extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConfiguratortoMapExceptionsByDefaultUsing(HttpExceptionMapper<Throwable> mapper)static <T extends Throwable>
ConfiguratortoMapExceptionsOfType(Class<T> type, HttpExceptionMapper<T> mapper)
-
-
-
Method Detail
-
toMapExceptionsByDefaultUsing
public static Configurator toMapExceptionsByDefaultUsing(HttpExceptionMapper<Throwable> mapper)
-
toMapExceptionsOfType
public static <T extends Throwable> Configurator toMapExceptionsOfType(Class<T> type, HttpExceptionMapper<T> mapper)
-
-