Fix wrong namespace path for EmptyRingException.

This commit is contained in:
Daniele Alessandri
2010-05-18 11:46:42 +02:00
parent fa6400dc22
commit 658272fe4b
+1 -1
View File
@@ -1588,7 +1588,7 @@ class HashRing implements IDistributionAlgorithm {
return;
}
if (count($this->_nodes) === 0) {
throw new \EmptyRingException('Cannot initialize empty hashring');
throw new EmptyRingException('Cannot initialize empty hashring');
}
$this->_ring = array();