|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--parser.ExpressionParser.ParseException
Describes a error of a parsing.
Nested Class Summary | |
static class |
ExpressionParser.ParseException.AmbiguousGrammarError
|
Constructor Summary | |
ExpressionParser.ParseException(String msg,
ExpressionParser.Token position)
|
|
ExpressionParser.ParseException(String msg,
String sourceName,
int index,
int line,
int column)
Constructs an exception. |
Method Summary | |
int |
getColumn()
Returns the column number where the exception occured. |
int |
getIndex()
Returns the index number where the exception occured. |
int |
getLine()
Returns the line number where the exception occured. |
String |
getSourceName()
Returns the source name where the exception occured. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 ExpressionParser.ParseException(String msg, String sourceName, int index, int line, int column)
sourceName
- the source name where the exception occured, or null if not supported.index
- the index number where the exception occured, or -1 if not supported.line
- the line number where the exception occured, or -1 if not supported.column
- the column number where the exception occured, or -1 if not supported.public ExpressionParser.ParseException(String msg, ExpressionParser.Token position)
Method Detail |
public final String getSourceName() throws UnsupportedOperationException
UnsupportedOperationException
- if the method is not suported.public final int getIndex() throws UnsupportedOperationException
UnsupportedOperationException
- if the method is not suported.public final int getLine() throws UnsupportedOperationException
UnsupportedOperationException
- if the method is not suported.public final int getColumn() throws UnsupportedOperationException
UnsupportedOperationException
- if the method is not suported.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |