Hilbert II - Version 0.03.04

org.qedeq.kernel.parser
Class ParserException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.qedeq.kernel.parser.ParserException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ClosingBracketMissingException, EndSymbolNotFoundException, SeparatorNotFoundException, TooFewArgumentsException, TooMuchArgumentsException, UnexpectedOperatorException

public abstract class ParserException
extends Exception

Base for parser exceptions.

Version:
$Revision: 1.3 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
ParserException(long position, String message)
          Constructor.
 
Method Summary
 long getPosition()
          Get error position.
 
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

ParserException

public ParserException(long position,
                       String message)
Constructor.

Parameters:
position - Error position within input.
message - Error message.
Method Detail

getPosition

public final long getPosition()
Get error position.

Returns:
Error position.

Hilbert II - Version 0.03.04

©left GNU General Public Licence
All Rights Reserved.