getCode(); } parent::__construct($message, $code, $e); } public function hasChainedException() { return ($this->getPrevious() !== null); } public function getChainedException() { return $this->getPrevious(); } }