OXID eShop CE  4.9.8
 All Classes Files Functions Variables Pages
oxadodbexception.php
Go to the documentation of this file.
1 <?php
2 
10 {
22  public function __construct($sDbDriver, $sFunction, $iErrorNr, $sErrorMsg, $sParam1, $sParam2, $oConnection)
23  {
24  $sUser = $oConnection->username;
25  $iErrorNr = is_numeric($iErrorNr) ? $iErrorNr : -1;
26 
27  $sMessage = "$sDbDriver error: [$iErrorNr: $sErrorMsg] in $sFunction ($sParam1, $sParam2) with user $sUser\n";
28 
29  parent::__construct($sMessage, $iErrorNr);
30  }
31 }