OXID eShop CE  6.1.5
OxidEsales\EshopCommunity\Core\Exception\DatabaseConnectionException Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Core\Exception\DatabaseConnectionException:
+ Collaboration diagram for OxidEsales\EshopCommunity\Core\Exception\DatabaseConnectionException:

Public Member Functions

 __construct ($message, $code, \Exception $previous)
 

Detailed Description

Exception to be thrown on database connection errors

Constructor & Destructor Documentation

◆ __construct()

OxidEsales\EshopCommunity\Core\Exception\DatabaseConnectionException::__construct (   $message,
  $code,
\Exception  $previous 
)

DatabaseConnectionException constructor.

Use this exception to catch and rethrow exceptions of the underlying DBAL, that occur while connection to the database. Provide the caught exception as the third parameter of the constructor to enable exception chaining.

Parameters
string$message
int$code
\Exception$previousPrevious exception thrown by the underlying DBAL

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