コード例 #1
0
ファイル: DBParameterGroupData.php プロジェクト: recipe/scalr
 /**
  * {@inheritdoc}
  * @see Scalr\Service\Aws\Rds.AbstractRdsDataType::throwExceptionIfNotInitialized()
  */
 protected function throwExceptionIfNotInitialized()
 {
     parent::throwExceptionIfNotInitialized();
     if ($this->dBParameterGroupName === null) {
         throw new RdsException(sprintf('dbParameterGroupName has not been initialized for the "%s" yet', get_class($this)));
     }
 }
コード例 #2
0
ファイル: DBSnapshotData.php プロジェクト: scalr/scalr
 /**
  * {@inheritdoc}
  * @see Scalr\Service\Aws\Rds.AbstractRdsDataType::throwExceptionIfNotInitialized()
  */
 protected function throwExceptionIfNotInitialized()
 {
     parent::throwExceptionIfNotInitialized();
     if ($this->dBSnapshotIdentifier === null) {
         throw new RdsException(sprintf('dbSnapshotIdentifier has not been initialized for "%s" yet.', get_class($this)));
     }
 }