Package rekit.persistence.level.parser
Class UnexpectedTokenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
rekit.persistence.level.parser.UnexpectedTokenException
- All Implemented Interfaces:
Serializable
The Class UnexpectedTokenExecption.
This exception will thrown when an Unexpected Token reached
This exception will thrown when an Unexpected Token reached
- Author:
- Dominik Fuchss
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnexpectedTokenException
(Token foundToken, String comment) Instantiates a new unexpected token execption.UnexpectedTokenException
(Token foundToken, TokenType expectedToken) Instantiates a new unexpected token execption. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnexpectedTokenException
Instantiates a new unexpected token execption.- Parameters:
foundToken
- the unexpected TokenexpectedToken
- the expected Type
-
UnexpectedTokenException
Instantiates a new unexpected token execption.- Parameters:
foundToken
- the unexpected Tokencomment
- your comment
-