aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-11-20 13:09:03 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-11-23 22:42:36 +0100
commit8ed6fbb5ef5d962e72f0c9613a742237460b2505 (patch)
treee389bfc2fb289954cb7aaf18d0baf02601643680
parent6d9a39c5655660ea80d8196fddccdc02054ea3bd (diff)
downloadRouter-8ed6fbb5ef5d962e72f0c9613a742237460b2505.zip
Router-8ed6fbb5ef5d962e72f0c9613a742237460b2505.tar.gz
Router-8ed6fbb5ef5d962e72f0c9613a742237460b2505.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 48e5da3..d46bb73 100644
--- a/Exception/Exception.php
+++ b/Exception/Exception.php
@@ -37,16 +37,17 @@
namespace Hoa\Router\Exception;
use Hoa\Core;
+use Hoa\Exception as HoaException;
/**
* Class \Hoa\Router\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 dae8dba..ce400f8 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"
},
"autoload": {
"psr-4": {