org.duelengine.duel.parsing
Class SyntaxException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidNodeException, InvalidTokenException, ScriptTranslationException

public class SyntaxException
extends IllegalArgumentException

Represents compilation error related to a specific point in the source file

See Also:
Serialized Form

Constructor Summary
SyntaxException(String message, int index, int line, int column)
           
SyntaxException(String message, int index, int line, int column, Throwable cause)
           
 
Method Summary
 int getColumn()
           
 int getIndex()
           
 int 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

SyntaxException

public SyntaxException(String message,
                       int index,
                       int line,
                       int column)

SyntaxException

public SyntaxException(String message,
                       int index,
                       int line,
                       int column,
                       Throwable cause)
Method Detail

getIndex

public int getIndex()

getLine

public int getLine()

getColumn

public int getColumn()


Copyright © 2011. All Rights Reserved.