Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class SyncObjectBrokenException extends GSyncException { |
||
12 | protected $defaultLogLevel = LOGLEVEL_WARN; |
||
13 | private $syncObject; |
||
14 | |||
15 | /** |
||
16 | * Returns the SyncObject which caused this Exception (if set). |
||
17 | * |
||
18 | * @return SyncObject |
||
19 | */ |
||
20 | public function GetSyncObject() { |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * Sets the SyncObject which caused the exception so it can be later retrieved. |
||
26 | * |
||
27 | * @param SyncObject $syncobject |
||
28 | * |
||
29 | * @return bool |
||
30 | */ |
||
31 | public function SetSyncObject($syncobject) { |
||
37 |
If the returned type also contains false, it is an indicator that maybe an error condition leading to the specific return statement remains unhandled.