} catch (TemplateProcessingFailureException e) {
<BUG>showErrorMessage(inputNode, 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(inputNode, rule.getRuleNode().resolve(MPSModuleRepository.getInstance()), "internal error: " + e.toString());
}</BUG>
}
protected void copyRootInputNode(@NotNull SNode inputRootNode, @NotNull TemplateExecutionEnvironment environment) throws GenerationFailureException, GenerationCanceledException {
NodeCopyFacility copyProcessor;

} catch (TemplateProcessingFailureException e) {
getLogger().error(rule.getRuleNode(), "couldn't create root node", GeneratorUtil.describe(inputNode, "input 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(), GeneratorUtil.describe(inputNode, "input node"));
}
}
protected void copyRootInputNode(@NotNull SNode inputRootNode, @NotNull TemplateExecutionEnvironment environment) throws GenerationFailureException, GenerationCanceledException {
NodeCopyFacility copyProcessor;
