1234567891011121314151617181920212223 |
- <?php
- namespace Juju\App;
- class Exception extends \Exception {
- private $included;
- public function __construct($message = null, $code = 0, \Exception $previous = null, string $file = null, int $line = null, array $trace = null, array $included = []){
- parent::__construct($message, $code, $previous);
- if(!is_null($file)){
- $this->file = $file;
- }
- if(!is_null($line)){
- $this->line = $line;
- }
- if(!is_null($trace)){
- $this->trace = $trace;
- }
- $this->included = $included;
- }
- public function getIncluded(){
- return $this->included;
- }
- }
- ?>
|