Package com.atlassian.confluence.macro

Examples of com.atlassian.confluence.macro.MacroExecutionException


    } 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);
      }
View Full Code Here


    } 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);
      }
View Full Code Here

TOP

Related Classes of com.atlassian.confluence.macro.MacroExecutionException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.