Explorar o código

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 %!s(int64=16) %!d(string=hai) anos
pai
achega
fd21f19156
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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();
                 $config = $config->toArray();
             } else {
             } 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');
             }
             }
         }
         }