diff --git a/lib/Cake/Database/Connection.php b/lib/Cake/Database/Connection.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Database/Connection.php
+++ b/lib/Cake/Database/Connection.php
@@ -140,8 +140,8 @@ class Connection {
  *
  * @param string|Driver $driver
  * @param array|null $config Either config for a new driver or null.
- * @throws Cake\Database\MissingDriverException When a driver class is missing.
- * @throws Cake\Database\MissingExtensionException When a driver's PHP extension is missing.
+ * @throws Cake\Database\Exception\MissingDriverException When a driver class is missing.
+ * @throws Cake\Database\Exception\MissingExtensionException When a driver's PHP extension is missing.
  * @return Driver
  */
 	public function driver($driver = null, $config = null) {
diff --git a/lib/Cake/Test/TestCase/Database/QueryTest.php b/lib/Cake/Test/TestCase/Database/QueryTest.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Test/TestCase/Database/QueryTest.php
+++ b/lib/Cake/Test/TestCase/Database/QueryTest.php
@@ -17,8 +17,8 @@
 namespace Cake\Test\TestCase\Database;
 
 use Cake\Core\Configure;
-use Cake\Database\Query;
 use Cake\Database\ConnectionManager;
+use Cake\Database\Query;
 use Cake\TestSuite\TestCase;
 
 /**
Resolving a couple coding standard errors