Jelajahi Sumber

ZF-8047
Updated constructor of Zend_Db_Adapter to throw Zend_Db_Adapter_Exception

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@18632 44c647ce-9c0f-0410-b52a-842ac1e357ba

ralph 16 tahun lalu
induk
melakukan
fd21f19156
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      library/Zend/Db/Adapter/Abstract.php

+ 3 - 3
library/Zend/Db/Adapter/Abstract.php

@@ -173,10 +173,10 @@ abstract class Zend_Db_Adapter_Abstract
                 $config = $config->toArray();
             } else {
                 /**
-                 * @see Zend_Db_Exception
+                 * @see Zend_Db_Adapter_Exception
                  */
-                require_once 'Zend/Db/Exception.php';
-                throw new Zend_Db_Exception('Adapter parameters must be in an array or a Zend_Config object');
+                require_once 'Zend/Db/Adapter/Exception.php';
+                throw new Zend_Db_Adapter_Exception('Adapter parameters must be in an array or a Zend_Config object');
             }
         }