aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-11-20 07:54:23 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-11-23 22:49:24 +0100
commitcd6f9854e0ab56c976d56aef87ff819295b1c969 (patch)
treec2734ae35c6cfc5cd69c8dbb3bed7ae52fafc00b
parenta64ed9fd62579a34e4450134d6d1abdf77d54435 (diff)
downloadIterator-cd6f9854e0ab56c976d56aef87ff819295b1c969.zip
Iterator-cd6f9854e0ab56c976d56aef87ff819295b1c969.tar.gz
Iterator-cd6f9854e0ab56c976d56aef87ff819295b1c969.tar.bz2
Exception: Use `Hoa\Exception`.
The core is being splitted into several libraries. `Hoa\Exception` is one of them.
-rw-r--r--Exception.php6
-rw-r--r--composer.json3
2 files changed, 5 insertions, 4 deletions
diff --git a/Exception.php b/Exception.php
index 9cf956e..60b9fe4 100644
--- a/Exception.php
+++ b/Exception.php
@@ -36,16 +36,16 @@
namespace Hoa\Iterator;
-use Hoa\Core;
+use Hoa\Exception as HoaException;
/**
* Class \Hoa\Iterator\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 ad5ec8f..fc7a03e 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"