Class SyntaxErrorException

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    StartAndEndTagMismatchException

    @Deprecated
    public abstract class SyntaxErrorException
    extends net.sourceforge.pmd.lang.ast.ParseException
    Deprecated.
    for removal with PMD 7.0.0. Use ParseException instead.
    Exception indicating that a syntactic error has been found.
    Since:
    Created on 11-jan-2006
    Author:
    Pieter_Van_Raemdonck
    See Also:
    Serialized Form
    • Constructor Detail

      • SyntaxErrorException

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

      • getLine

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

        public String getRuleName()
        Deprecated.
        Returns:
        Returns the ruleName.