Class TemplateInitException

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int col  
      private int line  
      private static long serialVersionUID
      Version Id for serializable
      private java.lang.String templateName  
    • Constructor Summary

      Constructors 
      Constructor Description
      TemplateInitException​(java.lang.String msg, java.lang.String templateName, int col, int line)  
      TemplateInitException​(java.lang.String msg, ParseException parseException, java.lang.String[] stacktrace, java.lang.String templateName, int col, int line)  
      TemplateInitException​(java.lang.String msg, ParseException parseException, java.lang.String templateName, int col, int line)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getColumnNumber()
      Returns the column number where this exception occurred.
      int getLineNumber()
      Returns the line number where this exception occurred.
      java.lang.String getTemplateName()
      Returns the Template name where this exception occurred.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 final java.lang.String templateName
      • col

        private final int col
      • line

        private final int line
      • serialVersionUID

        private static final long serialVersionUID
        Version Id for serializable
        See Also:
        Constant Field Values
    • Constructor Detail

      • TemplateInitException

        public TemplateInitException​(java.lang.String msg,
                                     java.lang.String templateName,
                                     int col,
                                     int line)
        Parameters:
        msg -
        templateName -
        col -
        line -
      • TemplateInitException

        public TemplateInitException​(java.lang.String msg,
                                     ParseException parseException,
                                     java.lang.String templateName,
                                     int col,
                                     int line)
        Parameters:
        msg -
        parseException -
        templateName -
        col -
        line -
      • TemplateInitException

        public TemplateInitException​(java.lang.String msg,
                                     ParseException parseException,
                                     java.lang.String[] stacktrace,
                                     java.lang.String templateName,
                                     int col,
                                     int line)
        Parameters:
        msg -
        parseException -
        stacktrace -
        templateName -
        col -
        line -
        Since:
        2.2
    • Method Detail

      • getTemplateName

        public java.lang.String getTemplateName()
        Returns the Template name where this exception occurred.
        Specified by:
        getTemplateName in interface ExtendedParseException
        Returns:
        the template name
      • getLineNumber

        public int getLineNumber()
        Returns the line number where this exception occurred.
        Specified by:
        getLineNumber in interface ExtendedParseException
        Returns:
        the line number
      • getColumnNumber

        public int getColumnNumber()
        Returns the column number where this exception occurred.
        Specified by:
        getColumnNumber in interface ExtendedParseException
        Returns:
        the line number