Throw better Exceptions

This commit is contained in:
Phill Sparks
2011-11-15 12:35:04 +00:00
parent d643ec97dc
commit 58638216e8
23 changed files with 53 additions and 53 deletions

View File

@@ -53,10 +53,10 @@ class Memcached {
if ($memcache->getVersion() === false)
{
throw new \Exception('Could not establish memcached connection. Please verify your configuration.');
throw new \RuntimeException('Could not establish memcached connection. Please verify your configuration.');
}
return $memcache;
}
}
}