SqlQueryException Constructor
public \Bitrix\Main\DB\SqlQueryException::__construct( string $message = "", string $databaseMessage = "", string $query = "", \Exception $previous = null );
This non-static method is called when creating a class instance and allows to modify it when creating an object.
Parameters
Parameter | Description | Version |
---|---|---|
$message | Exception message | |
$databaseMessage | Database message. | |
$query | SQL query text. | |
$previous | Previous exception. Used to build exception chain. |
Examples
© «Bitrix24», 2001-2024
Up