Updated thrown exceptions

This commit is contained in:
Alex Bilbie 2014-04-25 11:24:42 +01:00
parent 7f6ca35628
commit 019dfa8836

View File

@ -65,7 +65,7 @@ abstract class AbstractServer
public function getStorage($obj) public function getStorage($obj)
{ {
if (!isset($this->storages[$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' 'The `'.$obj.'` storage interface has not been registered with the server'
); );
} }