Replace @throws ConnectionException with @throws DBALException for transactions

Not only a connection exception is possible (e.g. it may be a connection failure or a failure to detect the platform).
parent dbfd1070
......@@ -1188,7 +1188,7 @@ class Connection
*
* @return void
*
* @throws ConnectionException
* @throws DBALException
*/
public function setNestTransactionsWithSavepoints($nestTransactionsWithSavepoints)
{
......@@ -1262,8 +1262,7 @@ class Connection
/**
* @return bool
*
* @throws ConnectionException If the commit failed due to no active transaction or
* because the transaction was marked for rollback only.
* @throws DBALException
*/
public function commit()
{
......@@ -1336,7 +1335,7 @@ class Connection
*
* @return bool
*
* @throws ConnectionException If the rollback operation failed.
* @throws DBALException
*/
public function rollBack()
{
......@@ -1388,7 +1387,7 @@ class Connection
*
* @return void
*
* @throws ConnectionException
* @throws DBALException
*/
public function createSavepoint($savepoint)
{
......@@ -1406,7 +1405,7 @@ class Connection
*
* @return void
*
* @throws ConnectionException
* @throws DBALException
*/
public function releaseSavepoint($savepoint)
{
......@@ -1428,7 +1427,7 @@ class Connection
*
* @return void
*
* @throws ConnectionException
* @throws DBALException
*/
public function rollbackSavepoint($savepoint)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment