Fixed broken exception code
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 3 Jul 2014 23:37:25 +0000 (16:37 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 3 Jul 2014 23:37:25 +0000 (16:37 -0700)
Change-Id: Id399cb22f183d75acc006e698feb161bd12096bd

includes/libs/HashRing.php

index df99098..2022b22 100644 (file)
@@ -198,7 +198,7 @@ class HashRing {
                        }
                }
                if ( !$this->liveRing ) {
-                       throw UnexpectedValueException( "The live ring is currently empty." );
+                       throw new UnexpectedValueException( "The live ring is currently empty." );
                }
 
                return $this->liveRing;