net.sourceforge.pmd.jsp.ast
Class StartAndEndTagMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sourceforge.pmd.ast.ParseException
net.sourceforge.pmd.jsp.ast.ParseException
net.sourceforge.pmd.jsp.ast.SyntaxErrorException
net.sourceforge.pmd.jsp.ast.StartAndEndTagMismatchException
- All Implemented Interfaces:
- java.io.Serializable
- public class StartAndEndTagMismatchException
- extends SyntaxErrorException
- Author:
- Pieter_Van_Raemdonck
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
- See Also:
- Serialized Form
Fields inherited from class java.lang.RuntimeException |
|
Constructor Summary |
StartAndEndTagMismatchException(int startLine,
int startColumn,
java.lang.String startTagName,
int endLine,
int endColumn,
java.lang.String endTagName)
Public constructor. |
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 |
START_END_TAG_MISMATCH_RULE_NAME
public static final java.lang.String START_END_TAG_MISMATCH_RULE_NAME
- See Also:
- Constant Field Values
StartAndEndTagMismatchException
public StartAndEndTagMismatchException(int startLine,
int startColumn,
java.lang.String startTagName,
int endLine,
int endColumn,
java.lang.String endTagName)
- Public constructor.
- Parameters:
startLine
- startColumn
- startTagName
- endLine
- endColumn
- endTagName
-
getEndColumn
public int getEndColumn()
- Returns:
- Returns the endColumn.
getEndLine
public int getEndLine()
- Returns:
- Returns the endLine.
getStartColumn
public int getStartColumn()
- Returns:
- Returns the startColumn.
getStartLine
public int getStartLine()
- Returns:
- Returns the startLine.
getMessage
public java.lang.String getMessage()
- Description copied from class:
ParseException
- This method has the standard behavior when this object has been
created using the standard constructors. Otherwise, it uses
"currentToken" and "expectedTokenSequences" to generate a parse
error message and returns it. If this object has been created
due to a parse error, and you do not catch it (it gets thrown
from the parser), then this method is called during the printing
of the final stack trace, and hence the correct error message
gets displayed.
- Overrides:
getMessage
in class ParseException
Copyright © 2002-2006 InfoEther. All Rights Reserved.