data = $data; parent::__construct($message, $code, $previous); } public function getData() { return $this->data; } }