Documentation

ConnectionException Constructor

 public
\Bitrix\Main\DB\ConnectionException::__construct(
 string $message = "",
 string $databaseMessage = "",
 \Exception $previous = null
);

This non-static method is called when creating a class instance. It allows to modify the class instance when creating an object.

Parameters

ParameterDescriptionVersion
$messageException message
$databaseMessageDatabase message
$previousPrevious exception. It is used to build an exception chain.

Examples



© «Bitrix24», 2001-2024
Up