throw new ModelException("ConfigurationException during needUpdate() check", x);
}
try
{
SystemCheckService systemCheckService = (SystemCheckService) SpringTools.getBean(SystemCheckService.ID);
if (systemCheckService != null && ! systemCheckService.isSystemReady())
{
return res.createCommand(systemCheckService.getSystemCheckModel()).execute(req, res);
}
}
catch (Exception ignore)
{
// No system check service configured.