Esempio n. 1
0
 public function __construct($sIssue, $aContext, $oException = null)
 {
     if ($oException != null) {
         $aContext['mysql_error'] = $oException->getCode();
         $aContext['mysql_errno'] = $oException->getMessage();
     } else {
         $aContext['mysql_error'] = CMDBSource::GetError();
         $aContext['mysql_errno'] = CMDBSource::GetErrNo();
     }
     parent::__construct($sIssue, $aContext);
 }