From 019dfa88366518423c2f98dbe76cf8c87240e5fc Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Fri, 25 Apr 2014 11:24:42 +0100 Subject: [PATCH] Updated thrown exceptions --- src/AbstractServer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AbstractServer.php b/src/AbstractServer.php index 030c5de5..9da091ee 100644 --- a/src/AbstractServer.php +++ b/src/AbstractServer.php @@ -65,7 +65,7 @@ abstract class AbstractServer public function getStorage($obj) { if (!isset($this->storages[$obj])) { - throw new Exception\ServerException( + throw new Exception\ServerErrorException( 'The `'.$obj.'` storage interface has not been registered with the server' ); }