errMsg; } if(!$code){ $code = $this->errCode; } parent::__construct($msg,$code); } }