Class SyntaxErrorException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    StartAndEndTagMismatchException

    public abstract class SyntaxErrorException
    extends ParseException
    Exception indicating that a syntactic error has been found.
    Since:
    Created on 11-jan-2006
    Author:
    Pieter_Van_Raemdonck
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SyntaxErrorException​(int line, java.lang.String ruleName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getLine()  
      java.lang.String getRuleName()  
      • 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
    • Constructor Detail

      • SyntaxErrorException

        public SyntaxErrorException​(int line,
                                    java.lang.String ruleName)
        Parameters:
        line -
        ruleName -
    • Method Detail

      • getLine

        public int getLine()
        Returns:
        Returns the line.
      • getRuleName

        public java.lang.String getRuleName()
        Returns:
        Returns the ruleName.