);                 throw new WebApplicationException(                     Response.status(Status.BAD_REQUEST).entity(e.toString()).                     header(HttpHeaders.ACCEPT, acceptedMediaType).build());             }             if(content