} catch (IOException e) {
log.debug("IOException: ",e);
return renderErrorWithTemplate(i18n_getText("confluenceadvancedcodeblockplugin.exceptiontext.ioexception", new String[]{e.getMessage()}), macroType, null);
} catch(Exception e) {
log.error("Unexpected Exception: ",e);
throw new MacroExecutionException(e);
}
context.put(VELOCITY_PLACEHOLDER_MACROID, macroid);
if (isValidLanguage(lang)) {
context.put(VELOCITY_PLACEHOLDER_LANG, "prettyprint lang-"+lang);
}