diff --git a/Config.php b/Config.php index 9608dba..c496673 100644 --- a/Config.php +++ b/Config.php @@ -33,7 +33,7 @@ class ConfigArray extends ArrayObject public function offsetGet($index) { if (!$this->offsetExists($index)) { - throw new Exception('Configuration variable "' . $index . '" undefined'); + throw new GeneralException('Configuration variable "' . $index . '" undefined'); } return parent::offsetGet($index); } diff --git a/tests/phpunit.xml b/tests/phpunit.xml index fd981a7..cea5120 100644 --- a/tests/phpunit.xml +++ b/tests/phpunit.xml @@ -26,7 +26,7 @@ - +