1 | <?php |
||
18 | class ExitException extends \Exception |
||
19 | { |
||
20 | /** |
||
21 | * @var int the exit status code |
||
22 | */ |
||
23 | public $statusCode; |
||
24 | |||
25 | |||
26 | /** |
||
27 | * Constructor. |
||
28 | * @param int $status the exit status code |
||
29 | * @param string $message error message |
||
30 | * @param int $code error code |
||
31 | * @param \Exception $previous The previous exception used for the exception chaining. |
||
32 | */ |
||
33 | 3 | public function __construct($status = 0, $message = null, $code = 0, \Exception $previous = null) |
|
38 | } |
||
39 |