I’m having trouble finding my way around Zend Framework documentation.
I’m currently using the “query” member function of the Zend_Db_Adapter_Pdo_Mysql class, and want to find out what exceptions it might throw. I’ve looked at http://framework.zend.com/apidoc/core/Zend_Db/Adapter/Zend_Db_Adapter_Abstract.html#query , however there seems to be no info about it there. Oh I’m using version Zend Framework 1.10.
The
Zend_Exceptiondocumentation says:You are looking at the wrong API documentation. You need to look at the docs for
Zend_Db_Adapter_Pdo_Abstractquery method, whichZend_Db_Adapter_Pdo_Mysqlextends – and an exception is mentioned there:throws:
Zend_Db_Adapter_ExceptionTo re-throwPDOException.