aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-11-20 07:59:28 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-11-23 22:48:40 +0100
commit46858a69803eb83aa9a135f0418ad0e6910436cf (patch)
tree2e4003ac84cf5c1f0923c527f0bf3d3a56e7b01f
parent3ff70f000c6b8a5b50c322bdf3e29983c7ef503d (diff)
downloadMail-46858a69803eb83aa9a135f0418ad0e6910436cf.zip
Mail-46858a69803eb83aa9a135f0418ad0e6910436cf.tar.gz
Mail-46858a69803eb83aa9a135f0418ad0e6910436cf.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 26e2f44..2b6455b 100644
--- a/Exception/Exception.php
+++ b/Exception/Exception.php
@@ -37,16 +37,17 @@
namespace Hoa\Mail\Exception;
use Hoa\Core;
+use Hoa\Exception as HoaException;
/**
* Class \Hoa\Mail\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 df1b811..82acca9 100644
--- a/composer.json
+++ b/composer.json
@@ -23,8 +23,9 @@
"source": "http://git.hoa-project.net/"
},
"require": {
- "hoa/core": "~2.0",
- "hoa/mime": "~2.0"
+ "hoa/core" : "~2.0",
+ "hoa/exception": "~0.0",
+ "hoa/mime" : "~2.0"
},
"require-dev": {
"hoa/file": "~0.0",