Package com.aspectran.core.context.expr
Class TokenEvaluationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aspectran.core.context.AspectranRuntimeException
-
- com.aspectran.core.context.expr.TokenEvaluationException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
InvalidTokenException
public class TokenEvaluationException extends AspectranRuntimeException
The Class TokenEvaluationException.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TokenEvaluationException(java.lang.String msg, Token token)
Instantiates a new token evaluation exception.TokenEvaluationException(java.lang.String msg, Token token, java.lang.Throwable cause)
Instantiates a new token evaluation exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Token
getToken()
Gets the token which is failed to evaluate expression.
-
-
-
Constructor Detail
-
TokenEvaluationException
public TokenEvaluationException(java.lang.String msg, Token token)
Instantiates a new token evaluation exception.- Parameters:
msg
- the detail messagetoken
- the token
-
TokenEvaluationException
public TokenEvaluationException(java.lang.String msg, Token token, java.lang.Throwable cause)
Instantiates a new token evaluation exception.- Parameters:
msg
- the detail messagetoken
- the tokencause
- the root cause
-
-
Method Detail
-
getToken
public Token getToken()
Gets the token which is failed to evaluate expression.- Returns:
- the token
-
-