use of password.pwm.util.localdb.LocalDBException in project pwm by pwm-project.
the class AdminServlet method processReportStatus.
@ActionHandler(action = "reportStatus")
private ProcessStatus processReportStatus(final PwmRequest pwmRequest) throws ChaiUnavailableException, PwmUnrecoverableException, IOException {
try {
final ReportStatusBean returnMap = ReportStatusBean.makeReportStatusData(pwmRequest.getPwmApplication().getReportService(), pwmRequest.getPwmSession().getSessionStateBean().getLocale());
final RestResultBean restResultBean = RestResultBean.withData(returnMap);
pwmRequest.outputJsonResult(restResultBean);
} catch (LocalDBException e) {
throw new PwmUnrecoverableException(e.getErrorInformation());
}
return ProcessStatus.Halt;
}
Aggregations