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