Skip to content
This repository was archived by the owner on Sep 20, 2021. It is now read-only.

Commit a775c09

Browse files
committed
Exception: Use Hoa\Exception.
The core is being splitted into several libraries. `Hoa\Exception` is one of them.
1 parent f54d7a7 commit a775c09

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

Exception.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@
3636

3737
namespace Hoa\Database;
3838

39-
use Hoa\Core;
39+
use Hoa\Exception as HoaException;
4040

4141
/**
4242
* Class \Hoa\Database\Exception.
4343
*
44-
* Extending the \Hoa\Core\Exception class.
44+
* Extending the \Hoa\Exception\Exception class.
4545
*
4646
* @copyright Copyright © 2007-2015 Hoa community
4747
* @license New BSD License
4848
*/
49-
class Exception extends Core\Exception
49+
class Exception extends HoaException
5050
{
5151
}

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@
2222
"source": "http://git.hoa-project.net/"
2323
},
2424
"require": {
25-
"hoa/core": "~2.0",
26-
"ext-pdo" : "*"
25+
"hoa/core" : "~2.0",
26+
"hoa/exception": "~0.0",
27+
"ext-pdo" : "*"
2728
},
2829
"require-dev": {
2930
"hoa/test": "~1.0"

0 commit comments

Comments
 (0)