Package | Description |
---|---|
com.naturalprogrammer.spring.lemon.exceptions | |
com.naturalprogrammer.spring.lemon.exceptions.handlers |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<ErrorResponse> |
ErrorResponseComposer.compose(T ex)
Given an exception, finds a handler for
building the response and uses that to build and return the response
|
Modifier and Type | Method and Description |
---|---|
ErrorResponse |
AbstractExceptionHandler.getErrorResponse(T ex) |