Package net.sourceforge.pmd.lang.jsp.ast
Class SyntaxErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.sourceforge.pmd.lang.ast.ParseException
-
- net.sourceforge.pmd.lang.jsp.ast.SyntaxErrorException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
StartAndEndTagMismatchException
@Deprecated public abstract class SyntaxErrorException extends ParseException
Deprecated.for removal with PMD 7.0.0. UseParseException
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 Summary
Constructors Constructor Description SyntaxErrorException(int line, String ruleName)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getLine()
Deprecated.String
getRuleName()
Deprecated.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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.
-
-