Class TemplateProcessingException

    • Constructor Detail

      • TemplateProcessingException

        public TemplateProcessingException​(String message)
      • TemplateProcessingException

        public TemplateProcessingException​(String message,
                                           Throwable cause)
      • TemplateProcessingException

        public TemplateProcessingException​(String message,
                                           String templateName,
                                           Throwable cause)
      • TemplateProcessingException

        public TemplateProcessingException​(String message,
                                           String templateName,
                                           int line,
                                           int col)
        Parameters:
        message - The message of the exception
        templateName - The name of the template for which the exception is thrown
        line - line position of the event that caused the exception
        col - columns position of the event that caused the exception
        Since:
        3.0.0
      • TemplateProcessingException

        public TemplateProcessingException​(String message,
                                           String templateName,
                                           int line,
                                           int col,
                                           Throwable cause)
        Parameters:
        message - The message of the exception
        templateName - The name of the template for which the exception is thrown
        line - line position of the event that caused the exception
        col - columns position of the event that caused the exception
        cause - cause to be nested inside the exception
        Since:
        3.0.0
    • Method Detail

      • getTemplateName

        public String getTemplateName()
      • hasTemplateName

        public boolean hasTemplateName()
      • getLine

        public Integer getLine()
      • hasLineAndCol

        public boolean hasLineAndCol()
      • setTemplateName

        public void setTemplateName​(String templateName)
      • setLineAndCol

        public void setLineAndCol​(int line,
                                  int col)