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