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
Modifier and TypeMethodDescriptiontoResponse
(RestApi.RequestContext context, EXCEPTION exception)
-
Method Details
-
toResponse
-