org.duelengine.duel.parsing
Class InvalidNodeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by org.duelengine.duel.parsing.SyntaxException
                      extended by org.duelengine.duel.parsing.InvalidNodeException
All Implemented Interfaces:
Serializable

public class InvalidNodeException
extends SyntaxException

Represents compilation errors related to a specific node in the resulting AST

See Also:
Serialized Form

Constructor Summary
InvalidNodeException(String message, DuelNode node)
           
InvalidNodeException(String message, DuelNode node, Throwable cause)
           
InvalidNodeException(String message, int index, int line, int column, DuelNode node, Throwable cause)
           
 
Method Summary
 DuelNode getNode()
           
 
Methods inherited from class org.duelengine.duel.parsing.SyntaxException
getColumn, getIndex, getLine
 
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

InvalidNodeException

public InvalidNodeException(String message,
                            DuelNode node)

InvalidNodeException

public InvalidNodeException(String message,
                            DuelNode node,
                            Throwable cause)

InvalidNodeException

public InvalidNodeException(String message,
                            int index,
                            int line,
                            int column,
                            DuelNode node,
                            Throwable cause)
Method Detail

getNode

public DuelNode getNode()


Copyright © 2012. All Rights Reserved.