throw new UserException();
Page page = PageData.getPage(KeyFactory.stringToKey(pageEncoded));
ContentType contentData = ContentData.getContentType(contentDTO.getClass().getSimpleName().replace("DTO", ""));
Content content = new Content(contentData, page.getId(), contentDTO.getLocation());
content.update(contentDTO);
content = ContentData.createContent(content);
if(content == null)
throw new ServerException("Content could not be created. Please try again later.");
}