aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-11-20 12:57:07 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-11-23 22:47:54 +0100
commit935d1c8bf95c0e45dec629380eac55249e480861 (patch)
tree22bd1458adc2460dd39eb8ff1947d19a430a67c4
parentcf8a3dc55792445be91e9741d7192a6382b8e9bb (diff)
downloadMime-935d1c8bf95c0e45dec629380eac55249e480861.zip
Mime-935d1c8bf95c0e45dec629380eac55249e480861.tar.gz
Mime-935d1c8bf95c0e45dec629380eac55249e480861.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.json5
2 files changed, 6 insertions, 4 deletions
diff --git a/Exception/Exception.php b/Exception/Exception.php
index 5ee4a21..a51e884 100644
--- a/Exception/Exception.php
+++ b/Exception/Exception.php
@@ -37,16 +37,17 @@
namespace Hoa\Mime\Exception;
use Hoa\Core;
+use Hoa\Exception as HoaException;
/**
* Class \Hoa\Mime\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 c509b34..25be8b1 100644
--- a/composer.json
+++ b/composer.json
@@ -21,8 +21,9 @@
"source": "http://git.hoa-project.net/"
},
"require": {
- "hoa/core" : "~2.0",
- "hoa/stream": "~0.0"
+ "hoa/core" : "~2.0",
+ "hoa/exception": "~0.0",
+ "hoa/stream" : "~0.0"
},
"require-dev": {
"hoa/file": "~0.0",