Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| DepartmentListNotEmpty | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace BO\Zmsdb\Exception\Organisation; |
| 4 | |
| 5 | /** |
| 6 | * class to generate an exception if children exists |
| 7 | */ |
| 8 | class DepartmentListNotEmpty extends \Exception |
| 9 | { |
| 10 | protected $code = 428; |
| 11 | |
| 12 | protected $message = 'There are still some children (departments) in organisation entity. ' . |
| 13 | 'Please mind to delete all children before delete parent item.'; |
| 14 | } |