Package com.yahoo.restapi
Interface RestApi.ExceptionMapper<EXCEPTION extends RuntimeException>
-
- Enclosing interface:
- RestApi
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface RestApi.ExceptionMapper<EXCEPTION extends RuntimeException>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpResponse
toResponse(RestApi.RequestContext context, EXCEPTION exception)
-
-
-
Method Detail
-
toResponse
HttpResponse toResponse(RestApi.RequestContext context, EXCEPTION exception)
-
-