Browse Source

Fix wrong namespace path for EmptyRingException.

Daniele Alessandri 15 years ago
parent
commit
658272fe4b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

@@ -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();