             log.info("Bad Request: {}",message);             throw new WebApplicationException(                 Response.status(Status.BAD_REQUEST).                 entity(message).                 header(HttpHeaders.ACCEPT, acceptedMediaType).build());         