aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-11-20 13:00:53 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-11-23 22:47:22 +0100
commiteac7c9a86ea5c94a55b1b99b04b851243410073d (patch)
treec0376e4b3ef2c007aa2bedcf6f7e0b2263f79a61
parenta99b764114216174c360828af2e594e6724bacba (diff)
downloadPraspel-eac7c9a86ea5c94a55b1b99b04b851243410073d.zip
Praspel-eac7c9a86ea5c94a55b1b99b04b851243410073d.tar.gz
Praspel-eac7c9a86ea5c94a55b1b99b04b851243410073d.tar.bz2
Exception: Use `Hoa\Exception`.
The core is being splitted into several libraries. `Hoa\Exception` is one of them.
-rw-r--r--Exception/Generic.php6
-rw-r--r--Exception/Group.php6
-rw-r--r--composer.json15
3 files changed, 14 insertions, 13 deletions
diff --git a/Exception/Generic.php b/Exception/Generic.php
index 803888e..0f2c231 100644
--- a/Exception/Generic.php
+++ b/Exception/Generic.php
@@ -36,16 +36,16 @@
namespace Hoa\Praspel\Exception;
-use Hoa\Core;
+use Hoa\Exception as HoaException;
/**
* Class \Hoa\Praspel\Exception\Generic.
*
- * Extending the \Hoa\Core\Exception class.
+ * Extending the \Hoa\Exception\Exception class.
*
* @copyright Copyright © 2007-2015 Hoa community
* @license New BSD License
*/
-class Generic extends Core\Exception implements Exception
+class Generic extends HoaException implements Exception
{
}
diff --git a/Exception/Group.php b/Exception/Group.php
index 4ce8de3..bbd04db 100644
--- a/Exception/Group.php
+++ b/Exception/Group.php
@@ -36,16 +36,16 @@
namespace Hoa\Praspel\Exception;
-use Hoa\Core;
+use Hoa\Exception as HoaException;
/**
* Class \Hoa\Praspel\Exception\Generic.
*
- * Extending the \Hoa\Core\Exception\Group class.
+ * Extending the \Hoa\Exception\Exception\Group class.
*
* @copyright Copyright © 2007-2015 Hoa community
* @license New BSD License
*/
-class Group extends Core\Exception\Group implements Exception
+class Group extends HoaException\Group implements Exception
{
}
diff --git a/composer.json b/composer.json
index 312580c..8989ba9 100644
--- a/composer.json
+++ b/composer.json
@@ -23,13 +23,14 @@
"source": "http://git.hoa-project.net/"
},
"require": {
- "hoa/core" : "~2.0",
- "hoa/compiler": "~2.0",
- "hoa/file" : "~0.0",
- "hoa/iterator": "~1.0",
- "hoa/realdom" : "~0.0",
- "hoa/ustring" : "~3.0",
- "hoa/visitor" : "~1.0"
+ "hoa/compiler" : "~2.0",
+ "hoa/core" : "~2.0",
+ "hoa/exception": "~0.0",
+ "hoa/file" : "~0.0",
+ "hoa/iterator" : "~1.0",
+ "hoa/realdom" : "~0.0",
+ "hoa/ustring" : "~3.0",
+ "hoa/visitor" : "~1.0"
},
"require-dev": {
"hoa/math": "~0.0"