org.duelengine.duel.parsing
Class InvalidTokenException

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.InvalidTokenException
All Implemented Interfaces:
Serializable

public class InvalidTokenException
extends SyntaxException

Represents compilation errors related to a specific token in the source file

See Also:
Serialized Form

Constructor Summary
InvalidTokenException(String message, DuelToken token)
           
InvalidTokenException(String message, DuelToken token, Throwable cause)
           
 
Method Summary
 DuelToken getToken()
           
 
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

InvalidTokenException

public InvalidTokenException(String message,
                             DuelToken token)

InvalidTokenException

public InvalidTokenException(String message,
                             DuelToken token,
                             Throwable cause)
Method Detail

getToken

public DuelToken getToken()


Copyright © 2011. All Rights Reserved.