PluginProbe
ManageWP Worker / 4.0.1
ManageWP Worker v4.0.1
4.9.38 4.9.37 4.9.36 4.9.35 4.9.34 3.8.7 3.8.8 3.9.0 3.9.1 3.9.10 3.9.11 3.9.12 3.9.13 3.9.14 3.9.15 3.9.16 3.9.17 3.9.18 3.9.19 3.9.2 3.9.20 3.9.21 3.9.22 3.9.23 3.9.24 All 73 releases
worker / src / Dropbox / Exception.php

Exception.php in ManageWP Worker 4.0.1, at src/Dropbox/Exception.php

32 lines 606 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * The base class for all API call exceptions.
5 */
6 class Dropbox_Exception extends Exception
7 {
8 public $previousException;
9
10 /**
11 * @internal
12 */
13 public function __construct($message, $cause = null)
14 {
15 if (version_compare(PHP_VERSION, '5.3', '<')) {
16 $this->previousException = $cause;
17 parent::__construct($message, 0);
18
19 return;
20 }
21 parent::__construct($message, 0, $cause);
22 }
23
24 /**
25 * @return mixed
26 */
27 public function getPreviousException()
28 {
29 return $this->previousException;
30 }
31 }
32