Class IdentityActor

    • Constructor Detail

      • IdentityActor

        public IdentityActor​(CompositeActor container,
                             java.lang.String name)
                      throws IllegalActionException,
                             NameDuplicationException
        Create a new actor in the specified container with the specified name. The name must be unique within the container or an exception is thrown. The container argument must not be null, or a NullPointerException will be thrown.
        Parameters:
        container - The container.
        name - The name of this actor within the container.
        Throws:
        IllegalActionException - If the entity cannot be contained by the proposed container (see the setContainer() method).
        NameDuplicationException - If the name coincides with an entity already in the container.