OXID eShop CE  4.8.12
 All Classes Files Functions Variables Pages
oxadodbexception.php
Go to the documentation of this file.
1 <?php
2 
10 {
11 
12  function __construct( $sDbDriver, $sFunction, $iErrorNr, $sErrorMsg, $sParam1, $sParam2, $oConnection )
13  {
14  $sUser = $oConnection->username;
15  $iErrorNr = is_numeric($iErrorNr)? $iErrorNr : -1;
16 
17  $sMessage = "$sDbDriver:$sFunction error: [$iErrorNr: $sErrorMsg] in $sFunction with parameters $sParam1, $sParam2 for user $sUser\n";
18 
19  parent::__construct( $sMessage, $iErrorNr );
20  }
21 }