OXID eShop CE
6.1.5
|
Public Member Functions | |
__construct ($message, $code, \Exception $previous) | |
Exception to be thrown on database connection errors
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.
string | $message | |
int | $code | |
\Exception | $previous | Previous exception thrown by the underlying DBAL |