Commit a32476fd authored by Filip Procházka's avatar Filip Procházka

typo

parent 1c6f63df
...@@ -773,7 +773,7 @@ class Connection implements DriverConnection ...@@ -773,7 +773,7 @@ class Connection implements DriverConnection
{ {
try { try {
$stmt = new Statement($statement, $this); $stmt = new Statement($statement, $this);
} catch (\Exception $ex) { } catch (Exception $ex) {
throw DBALException::driverExceptionDuringQuery($this->_driver, $ex, $statement); throw DBALException::driverExceptionDuringQuery($this->_driver, $ex, $statement);
} }
...@@ -824,7 +824,7 @@ class Connection implements DriverConnection ...@@ -824,7 +824,7 @@ class Connection implements DriverConnection
} else { } else {
$stmt = $this->_conn->query($query); $stmt = $this->_conn->query($query);
} }
} catch (\Exception $ex) { } catch (Exception $ex) {
throw DBALException::driverExceptionDuringQuery($this->_driver, $ex, $query, $this->resolveParams($params, $types)); throw DBALException::driverExceptionDuringQuery($this->_driver, $ex, $query, $this->resolveParams($params, $types));
} }
...@@ -933,7 +933,7 @@ class Connection implements DriverConnection ...@@ -933,7 +933,7 @@ class Connection implements DriverConnection
$statement = call_user_func_array(array($this->_conn, 'query'), $args); $statement = call_user_func_array(array($this->_conn, 'query'), $args);
break; break;
} }
} catch (\Exception $ex) { } catch (Exception $ex) {
throw DBALException::driverExceptionDuringQuery($this->_driver, $ex, $args[0]); throw DBALException::driverExceptionDuringQuery($this->_driver, $ex, $args[0]);
} }
...@@ -984,7 +984,7 @@ class Connection implements DriverConnection ...@@ -984,7 +984,7 @@ class Connection implements DriverConnection
} else { } else {
$result = $this->_conn->exec($query); $result = $this->_conn->exec($query);
} }
} catch (\Exception $ex) { } catch (Exception $ex) {
throw DBALException::driverExceptionDuringQuery($this->_driver, $ex, $query, $this->resolveParams($params, $types)); throw DBALException::driverExceptionDuringQuery($this->_driver, $ex, $query, $this->resolveParams($params, $types));
} }
...@@ -1015,7 +1015,7 @@ class Connection implements DriverConnection ...@@ -1015,7 +1015,7 @@ class Connection implements DriverConnection
try { try {
$result = $this->_conn->exec($statement); $result = $this->_conn->exec($statement);
} catch (\Exception $ex) { } catch (Exception $ex) {
throw DBALException::driverExceptionDuringQuery($this->_driver, $ex, $statement); throw DBALException::driverExceptionDuringQuery($this->_driver, $ex, $statement);
} }
......
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