Class TemplateProcessingException

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Integer col  
      private java.lang.Integer line  
      private static long serialVersionUID  
      private java.lang.String templateName  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getCol()  
      java.lang.Integer getLine()  
      java.lang.String getMessage()  
      java.lang.String getTemplateName()  
      boolean hasLineAndCol()  
      boolean hasTemplateName()  
      void setLineAndCol​(int line, int col)  
      void setTemplateName​(java.lang.String templateName)  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • templateName

        private java.lang.String templateName
      • line

        private java.lang.Integer line
      • col

        private java.lang.Integer col
    • Constructor Detail

      • TemplateProcessingException

        public TemplateProcessingException​(java.lang.String message)
      • TemplateProcessingException

        public TemplateProcessingException​(java.lang.String message,
                                           java.lang.Throwable cause)
      • TemplateProcessingException

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

        public TemplateProcessingException​(java.lang.String message,
                                           java.lang.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​(java.lang.String message,
                                           java.lang.String templateName,
                                           int line,
                                           int col,
                                           java.lang.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 java.lang.String getTemplateName()
      • hasTemplateName

        public boolean hasTemplateName()
      • getLine

        public java.lang.Integer getLine()
      • getCol

        public java.lang.Integer getCol()
      • hasLineAndCol

        public boolean hasLineAndCol()
      • setTemplateName

        public void setTemplateName​(java.lang.String templateName)
      • setLineAndCol

        public void setLineAndCol​(int line,
                                  int col)
      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable