be.lassi.lanbox.tools
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
be.lassi.lanbox.tools.ParseException
- All Implemented Interfaces:
- java.io.Serializable
public class ParseException
- extends java.lang.Exception
Parser exception.
- See Also:
- Serialized Form
Constructor Summary |
ParseException(int offset,
java.lang.String message)
Constructs a new instance. |
Method Summary |
int |
getOffset()
Gets the offset at which the parse error occurred. |
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 |
ParseException
public ParseException(int offset,
java.lang.String message)
- Constructs a new instance.
- Parameters:
offset
- the offset at which the parse error occurredmessage
- what went wrong
getOffset
public int getOffset()
- Gets the offset at which the parse error occurred.
- Returns:
- the offset at which the parse error occurred