Overview  Package   Class  Tree  Index 

be.lassi.lanbox.tools
Class ParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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
 

Constructor Detail

ParseException

public ParseException(int offset,
                      java.lang.String message)
Constructs a new instance.

Parameters:
offset - the offset at which the parse error occurred
message - what went wrong
Method Detail

getOffset

public int getOffset()
Gets the offset at which the parse error occurred.

Returns:
the offset at which the parse error occurred

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2