|
CubeTwister 2.0alpha142 2012-02-11 | ||||||||
| 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.io.IOException
ch.randelshofer.io.ParseException
public class ParseException
This exception is thrown by ScriptParser, when it encounters an invalid token.
| Constructor Summary | |
|---|---|
ParseException(java.lang.String msg)
Constructs a ParseException with the specified detail message. |
|
ParseException(java.lang.String msg,
int startpos,
int endpos)
Constructs a ParseException with the specified detail message. |
|
| Method Summary | |
|---|---|
int |
getEndPosition()
Returns the end position of the invalid token. |
int |
getStartPosition()
Returns the start position of the invalid token. |
| 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 ParseException(java.lang.String msg)
msg - the detail message.
public ParseException(java.lang.String msg,
int startpos,
int endpos)
msg - the detail message.startpos - the start position of the invalid token.endpos - the end position of the invalid token.| Method Detail |
|---|
public int getStartPosition()
public int getEndPosition()
|
(c) Werner Randelshofer. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||