Package ptolemy.actor

Class TypedIOPort.RunTimeTypeCheckException

    • Constructor Detail

      • RunTimeTypeCheckException

        public RunTimeTypeCheckException​(TypedIOPort port,
                                         Token token)
        Create an run-time type error exception.
        Parameters:
        port - The port where the error occurred.
        token - The token that caused the error.
    • Method Detail

      • getPort

        public TypedIOPort getPort()
        Return the port where the exception occurred.
        Returns:
        The port.
      • getToken

        public Token getToken()
        Return the token that caused the exception.
        Returns:
        the exception.