+ if (req.getParameter("description") != null) {
+ String description = req.getParameter("description").trim();
+ if (description.length() > 100) {
+ throw new GigiApiException("Submitted description is longer than 100 characters.");
+ }
+ result.setDescription(description);
+ }