Interface | Description |
---|---|
ErrorResponseEnricher |
This interface defines a way to enrich the error response with values applicable to the given situation.
|
ExceptionResponseFactory |
Factory to create the right type of response resource for an exception.
|
Class | Description |
---|---|
ApiErrorResponseEnricher |
This enricher adds api error information to the error response resource.
|
DefaultExceptionResponseFactory |
Default implementation of
ExceptionResponseFactory . |
ErrorMessageResponseEnricher |
This enricher copies the error message from the exception onto the error response resource.
|
ErrorResponseStatusEnricher |
This enricher copies the http status value and text onto the error response resource.
|
HawaiiResponseEntityExceptionHandler |
This class creates proper HTTP response bodies for exceptions.
|
RequestInfoErrorResponseEnricher |
This enricher copies information from the original web request onto the error response resource.
|
ValidationErrorResponseEnricher |
This enricher adds validation errors to the error response resource.
|
Exception | Description |
---|---|
BadRequestException | |
HttpException | |
InternalServerErrorException | |
ResourceNotFoundException |