error = themeFileResolver.getTemplate("500.html", webContext.getRequest().getBreakpoint()); } catch (TemplateNotFoundException notFound) {
try { template = themeFileResolver.getTemplate(path.get(), webContext.getRequest().getBreakpoint()); } catch (TemplateNotFoundException e) { try { template = themeFileResolver .getTemplate(webView.template().toString(), webContext.getRequest().getBreakpoint()); } catch (TemplateNotFoundException e) { if (webView.hasOption(WebView.Option.FALLBACK_ON_DEFAULT_THEME)) { try { template = themeFileResolver.getTemplate(themeManager.getDefaultTheme(), webView.template().toString(), webContext.getRequest().getBreakpoint()); } catch (TemplateNotFoundException e1) {