net.sourceforge.pmd.jsp.ast
Class SyntaxErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sourceforge.pmd.ast.ParseException
                  extended by net.sourceforge.pmd.jsp.ast.ParseException
                      extended by net.sourceforge.pmd.jsp.ast.SyntaxErrorException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
StartAndEndTagMismatchException

public abstract class SyntaxErrorException
extends ParseException

Author:
Pieter_Van_Raemdonck Exception indicating that a syntactic error has been found.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sourceforge.pmd.jsp.ast.ParseException
currentToken, eol, expectedTokenSequences, specialConstructor, tokenImage
 
Constructor Summary
SyntaxErrorException(int line, java.lang.String ruleName)
           
 
Method Summary
 int getLine()
           
 java.lang.String getRuleName()
           
 
Methods inherited from class net.sourceforge.pmd.jsp.ast.ParseException
add_escapes, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, 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.


Copyright © 2002-2011 InfoEther. All Rights Reserved.