use of org.jboss.pnc.common.json.ConfigurationParseException in project pnc by project-ncl.
the class UIConfigurationServletJson method init.
@Override
public void init() throws ServletException {
try {
UiConfigRest configRest = UiConfigRestBuilder.build(configuration);
this.uiConfig = JsonOutputConverterMapper.apply(configRest);
} catch (ConfigurationParseException e) {
throw new ServletException("Lazy-loading of UI configuration failed because the servlet was not able to fetch the configuration.", e);
}
}
Aggregations