public static class TypedIOPort.RunTimeTypeCheckException extends IllegalActionException
Constructor and Description |
---|
RunTimeTypeCheckException(TypedIOPort port,
Token token)
Create an run-time type error exception.
|
Modifier and Type | Method and Description |
---|---|
TypedIOPort |
getPort()
Return the port where the exception occurred.
|
Token |
getToken()
Return the token that caused the exception.
|
_setCause, _setMessage, generateMessage, generateMessage, generateMessage, getCause, getFullName, getMessage, getName, getNameable1, getNameable2, printStackTrace, printStackTrace, printStackTrace, stackTraceToString
public RunTimeTypeCheckException(TypedIOPort port, Token token)
port
- The port where the error occurred.token
- The token that caused the error.public TypedIOPort getPort()
public Token getToken()