net.sourceforge.nrl.parser.ast.impl
Class SyntaxErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sourceforge.nrl.parser.ast.impl.SyntaxErrorException
All Implemented Interfaces:
Serializable

public class SyntaxErrorException
extends RuntimeException

An extension of a token stream exception that adds a syntax error object for diagnosis.

Author:
Christian Nentwich
See Also:
Serialized Form

Constructor Summary
SyntaxErrorException(SyntaxError error)
           
 
Method Summary
 SyntaxError getSyntaxError()
          Return the error.
 
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

SyntaxErrorException

public SyntaxErrorException(SyntaxError error)
Method Detail

getSyntaxError

public SyntaxError getSyntaxError()
Return the error.

Returns:
the error


Copyright © 2006-2013. All Rights Reserved.