} catch (TemplateProcessingFailureException e) {
<BUG>showErrorMessage(null, rule.getRuleNode().resolve(MPSModuleRepository.getInstance()), "couldn't create root node");
} catch (GenerationException e) {</BUG>
if (e instanceof GenerationCanceledException) throw (GenerationCanceledException) e;
if (e instanceof GenerationFailureException) throw (GenerationFailureException) e;
<BUG>showErrorMessage(null, rule.getRuleNode().resolve(MPSModuleRepository.getInstance()), "internal error: " + e.toString());
}</BUG>
}
protected void createRootNodeByRule(TemplateRootMappingRule rule, SNode inputNode, boolean copyRootOnFailure, TemplateExecutionEnvironment environment)
throws GenerationCanceledException, GenerationFailureException {

} catch (TemplateProcessingFailureException e) {
getLogger().error(rule.getRuleNode(), "couldn't create root node");
} catch (GenerationException e) {
if (e instanceof GenerationCanceledException) throw (GenerationCanceledException) e;
if (e instanceof GenerationFailureException) throw (GenerationFailureException) e;
getLogger().error(rule.getRuleNode(), "internal error: " + e.toString());
}
}
protected void createRootNodeByRule(TemplateRootMappingRule rule, SNode inputNode, boolean copyRootOnFailure, TemplateExecutionEnvironment environment)
throws GenerationCanceledException, GenerationFailureException {
