Fixed broken exception.

This commit is contained in:
Technosophos
2012-09-04 13:21:21 -05:00
parent 9b93527b13
commit f255a30203

View File

@@ -636,7 +636,7 @@ class Container implements \Countable, \IteratorAggregate {
$sourceUrl = self::objectUrl($this->url, $obj->name());
if (empty($newName)) {
throw new \HPCloud\Expcetion("An object name is required to copy the object.");
throw new \HPCloud\Exception("An object name is required to copy the object.");
}
// Figure out what container we store in.