public ActionForward createAcademicEventExemption(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) {
try {
final AcademicEventExemptionBean bean = getRenderedObject("exemptionBean");
AcademicEventExemption.create(getLoggedPerson(request), bean.getEvent(), bean.getValue(),
bean.getJustificationType(), bean.getDispatchDate(), bean.getReason());
} catch (DomainExceptionWithLabelFormatter ex) {
addActionMessage(request, ex.getKey(), solveLabelFormatterArgs(request, ex.getLabelFormatterArgs()));
return prepareCreateAcademicEventExemptionInvalid(mapping, form, request, response);