private void handleTemplateException(TemplateException templateException) throws TemplateException { if (templateException instanceof TemplateModelException && ((TemplateModelException) templateException).getReplaceWithCause() && templateException.getCause() instanceof TemplateException) { templateException = (TemplateException) templateException.getCause();
private void handleTemplateException(TemplateException templateException) throws TemplateException { if (templateException instanceof TemplateModelException && ((TemplateModelException) templateException).getReplaceWithCause() && templateException.getCause() instanceof TemplateException) { templateException = (TemplateException) templateException.getCause();
private void handleTemplateException(TemplateException templateException) throws TemplateException { if (templateException instanceof TemplateModelException && ((TemplateModelException) templateException).getReplaceWithCause() && templateException.getCause() instanceof TemplateException) { templateException = (TemplateException) templateException.getCause();