|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
info.bliki.wiki.template.expr.SyntaxError
public class SyntaxError
Exception for a syntax error detected by the parser for a Mediawiki template expression.
Constructor Summary | |
---|---|
SyntaxError(int startOffset,
int rowIndx,
int columnIndx,
java.lang.String currentLine,
java.lang.String error,
int length)
SyntaxError exception |
Method Summary | |
---|---|
int |
getColumnIndex()
column index where the error occurred (offset relative to rowIndex) |
java.lang.String |
getCurrentLine()
source code line, where the error occurred |
java.lang.String |
getError()
the error string |
int |
getLength()
length of the error |
java.lang.String |
getMessage()
|
int |
getRowIndex()
row index where the error occurred |
int |
getStartOffset()
offset where the error occurred |
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 |
---|
public SyntaxError(int startOffset, int rowIndx, int columnIndx, java.lang.String currentLine, java.lang.String error, int length)
startOffset
- length
-
Method Detail |
---|
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public int getStartOffset()
public int getColumnIndex()
public java.lang.String getCurrentLine()
public java.lang.String getError()
public int getLength()
public int getRowIndex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |