Documentation

SqlException Constructor

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

This non-static method is called when creating a class instance and allows handling the class when creating an object.

Parameters

ParametersDescriptionVersion
$messageException message
$databaseMessageDatabase message.
$previousPrevious exception. Used to build an exception chain.

Examples



© «Bitrix24», 2001-2024
Up