getResourceManager().update(request.script, scriptId);
return Response.status(204).build();
} catch (WebApplicationException ex) {
throw ex;
} catch (ItemNotFound itemNotFound) {
throw new NotFoundFormattedException(itemNotFound.getMessage(), itemNotFound);
} catch (Exception ex) {
throw new ServiceFormattedException(ex.getMessage(), ex);
}
}