Scalr\Service\Aws\Ec2\DataType\InstanceData::throwExceptionIfNotInitialized PHP Метод

throwExceptionIfNotInitialized() защищенный Метод

    protected function throwExceptionIfNotInitialized()
    {
        parent::throwExceptionIfNotInitialized();
        if ($this->instanceId === null) {
            throw new Ec2Exception(sprintf('instanceId property has not been initialized for the "%s" yet', get_class($this)));
        }
    }