* @param res Http-Response, die vom Dispatcher durchgereicht wird
*/
public void insert(HttpServletRequest req, HttpServletResponse res)
- throws ServletModuleException {
+ throws ServletModuleException, ServletModuleUserException {
try {
HashMap withValues = getIntersectingValues(req, mainModule.getStorageObject());
String id = mainModule.add(withValues);
// theLog.printDebugInfo("--trying to deliver..."+id);
list(req,res);
//deliver(req, res, mainModule.getById(id), templateObjektString);
+ } catch (Exception e) {
+ throw new ServletModuleException(e.toString());
}
- catch (Exception e) { throw new ServletModuleException(e.toString());}
}
/**