|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Error
koala.dynamicjava.parser.wrapper.ParseError
This error is thrown when an unexpected error append while parsing a statement
Constructor Summary | |
ParseError()
Constructs an ExecutionError with no detail message. |
|
ParseError(java.lang.String s)
Constructs an ExecutionError with the specified
detail message. |
|
ParseError(java.lang.String s,
java.lang.String fn,
int l,
int c)
Constructs an ExecutionError with the specified
detail message, filename, line and column. |
Method Summary | |
int |
getColumn()
Returns the column in the source code where the error occured |
java.lang.String |
getFilename()
Returns the name of the source file |
int |
getLine()
Returns the line in the source code where the error 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 ParseError()
ExecutionError
with no detail message.
public ParseError(java.lang.String s)
ExecutionError
with the specified
detail message.
s
- the detail message.public ParseError(java.lang.String s, java.lang.String fn, int l, int c)
ExecutionError
with the specified
detail message, filename, line and column.
s
- the detail message.fn
- the file name.l
- the line in the source code.c
- the column in the source code.Method Detail |
public java.lang.String getFilename()
public int getLine()
public int getColumn()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |