class ExceptionsHandler extends BaseExceptionHandler<ResponseEntity> {

    @Override
    protected <R> ResponseEntity forbidden(R body) {
        return ResponseEntity
                .status(HttpStatus.FORBIDDEN)
                .contentType(MediaType.APPLICATION_JSON)
                .body(body);
    }

}