aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-11-20 07:45:56 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-11-23 22:50:42 +0100
commit3fe9a82edc1d129db89a978c65dc7d939cd3916c (patch)
tree4b25d8416bef4a01462aa6e1d36a130dcbc9eaaf
parent18f73dccac52a0750bee2466a28d98762b8e4368 (diff)
downloadFastcgi-3fe9a82edc1d129db89a978c65dc7d939cd3916c.zip
Fastcgi-3fe9a82edc1d129db89a978c65dc7d939cd3916c.tar.gz
Fastcgi-3fe9a82edc1d129db89a978c65dc7d939cd3916c.tar.bz2
Exception: Use `Hoa\Exception`.
The core is being splitted into several libraries. `Hoa\Exception` is one of them.
-rw-r--r--Exception/Exception.php5
-rw-r--r--composer.json3
2 files changed, 5 insertions, 3 deletions
diff --git a/Exception/Exception.php b/Exception/Exception.php
index 39c5e06..0c5652f 100644
--- a/Exception/Exception.php
+++ b/Exception/Exception.php
@@ -37,16 +37,17 @@
namespace Hoa\Fastcgi\Exception;
use Hoa\Core;
+use Hoa\Exception as HoaException;
/**
* Class \Hoa\Fastcgi\Exception.
*
- * Extending the \Hoa\Core\Exception class.
+ * Extending the \Hoa\Exception\Exception class.
*
* @copyright Copyright © 2007-2015 Hoa community
* @license New BSD License
*/
-class Exception extends Core\Exception
+class Exception extends HoaException
{
}
diff --git a/composer.json b/composer.json
index 20eac84..0e8e86a 100644
--- a/composer.json
+++ b/composer.json
@@ -21,7 +21,8 @@
"source": "http://git.hoa-project.net/"
},
"require": {
- "hoa/core": "~2.0"
+ "hoa/core" : "~2.0",
+ "hoa/exception": "~0.0"
},
"require-dev": {
"hoa/test": "~1.0"