OXID eShop CE
6.1.5
|
Public Member Functions | |
__construct ($message, $code, \Exception $previous) | |
Exception to be thrown on database errors
OxidEsales\EshopCommunity\Core\Exception\DatabaseException::__construct | ( | $message, | |
$code, | |||
\Exception | $previous | ||
) |
DatabaseException constructor.
Use this exception to catch and rethrow exceptions of the underlying DBAL. 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 |