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

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

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