OXID eShop CE  4.9.9
 All Classes Files Functions Variables Pages
oxAdoDbException Class Reference
+ Inheritance diagram for oxAdoDbException:
+ Collaboration diagram for oxAdoDbException:

Public Member Functions

 __construct ($sDbDriver, $sFunction, $iErrorNr, $sErrorMsg, $sParam1, $sParam2, $oConnection)
- Public Member Functions inherited from oxConnectionException
 setAdress ($sAdress)
 getAdress ()
 setConnectionError ($sConnError)
 getConnectionError ()
 getString ()
 getValues ()
- Public Member Functions inherited from oxException
 __construct ($sMessage="not set", $iCode=0)
 setLogFileName ($sFile)
 getLogFileName ()
 setMessage ($sMessage)
 setRenderer ()
 isRenderer ()
 setNotCaught ()
 isNotCaught ()
 debugOut ()
 setDestination ($sDestination)

Additional Inherited Members

- Protected Attributes inherited from oxException
 $_sFileName = 'EXCEPTION_LOG.txt'
 $_blRenderer = false
 $_blNotCaught = false

Detailed Description

Exception class for all adoDb problems, e.g.:

  • connection problems
  • wrong credentials
  • incorrect queries

Definition at line 9 of file oxadodbexception.php.

Constructor & Destructor Documentation

oxAdoDbException::__construct (   $sDbDriver,
  $sFunction,
  $iErrorNr,
  $sErrorMsg,
  $sParam1,
  $sParam2,
  $oConnection 
)

Class constructor, initiates parent constructor (parent::oxBase()).

Parameters
string$sDbDriverDatabase driver
string$sFunctionThe name of the calling function (in uppercase)
int$iErrorNrThe native error number from the database
string$sErrorMsgthe native error message from the database
string$sParam1$sFunction specific parameter
string$sParam2$sFunction specific parameter
string$oConnectionDatabase connection object

Definition at line 22 of file oxadodbexception.php.


The documentation for this class was generated from the following file: