@ Override public String execute ( @ SuppressWarnings ( "rawtypes" ) Map parameters , String body , RenderContext renderContext ) throws MacroException { try { return body ; } catch ( Exception e ) { return getErrorView ( "greenpepper.info.macroid" , e . getMessage ( ) ) ; } }
Confluence 2 and 3