Package de.quantummaid.httpmaid.mapmaid
Class MapMaidValidationExceptionMapper
- java.lang.Object
-
- de.quantummaid.httpmaid.mapmaid.MapMaidValidationExceptionMapper
-
- All Implemented Interfaces:
ExceptionMapper<Throwable>,HttpExceptionMapper<Throwable>
public final class MapMaidValidationExceptionMapper extends Object implements HttpExceptionMapper<Throwable>
-
-
Constructor Summary
Constructors Constructor Description MapMaidValidationExceptionMapper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmap(Throwable exception, HttpRequest request, HttpResponse response)static HttpExceptionMapper<Throwable>mapMaidValidationExceptionMapper(int statusCode)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.quantummaid.httpmaid.exceptions.HttpExceptionMapper
map
-
-
-
-
Method Detail
-
mapMaidValidationExceptionMapper
public static HttpExceptionMapper<Throwable> mapMaidValidationExceptionMapper(int statusCode)
-
map
public void map(Throwable exception, HttpRequest request, HttpResponse response)
- Specified by:
mapin interfaceHttpExceptionMapper<Throwable>
-
-