code: protected Response createBadRequest(String message) {
      ErrorResponse entity = new ErrorResponse();
      entity.setMessage(message);
      return Response
        .status(Response.Status.BAD_REQUEST)
        .entity(entity)
        .build();
    }
docs: Constructs bad request response
  
  @param message message
  @return response