06-26-2007 07:57 AM
06-26-2007 04:36 PM
06-27-2007 06:14 AM
@Override
protected Map<String, Object> executeImpl(WebScriptRequest req, WebScriptStatus status) {
Map<String, Object> model = new HashMap<String, Object>(7, 1.0f);
Integer statuscode = Status.STATUS_INTERNAL_ERROR;
try {
SuperObject so = null;
so.thisWillTriggerException();
statuscode = Status.SUCCESS;
}
catch (…) {
// Rollback transaction and use the same
// FreeMaker-template as it would if no
// exception was triggered.
statuscode = Status.THIS_TOTALLY_FAILED;
}
model.put("statuscode", statuscode);
return model;
}
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.