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