aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-11-20 13:19:42 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-11-23 22:38:01 +0100
commit1335d3d95007fd95ce33e75bb97a8b665c86dc79 (patch)
treee237cb8fdf282bc2d9c6aa0127eada707ca1047c
parent8506be4910212b1a2beb9014763a8a4fbd871001 (diff)
downloadUstring-1335d3d95007fd95ce33e75bb97a8b665c86dc79.zip
Ustring-1335d3d95007fd95ce33e75bb97a8b665c86dc79.tar.gz
Ustring-1335d3d95007fd95ce33e75bb97a8b665c86dc79.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 fb811e8..553e3a8 100644
--- a/Exception.php
+++ b/Exception.php
@@ -36,16 +36,16 @@
namespace Hoa\Ustring;
-use Hoa\Core;
+use Hoa\Exception as HoaException;
/**
* Class \Hoa\Ustring\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 081f596..a8287bb 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"