I discovery that an error occurs, it throws a PDOException. So, thats was very easy to handler using try .. catch =D

On 10/7/06, Mislav Marohnić < [EMAIL PROTECTED]> wrote:
Well, nobody is stopping you from checking the Table class source and seeing where and when it throws exceptions... after that, if you still need help about your needs, post again to this thread and we will see how can those be caught

Of course, check how the Adapter (Abstract or Pdo_Abstract) handles errors while performing queries, too

-M


On 10/7/06, Bruno Viana < [EMAIL PROTECTED]> wrote:
Someone knows that Zend_Db_Table throws any exception? I want to treat erros of delete, insert or update commands and i dont know how do it...

--
"Fui para os bosques viver de livre vontade. Para sugar todo o tutano da vida, para aniquilar tudo o que não era vida e para, quando morrer, não descobrir que não vivi."




--
"Fui para os bosques viver de livre vontade. Para sugar todo o tutano da vida, para aniquilar tudo o que não era vida e para, quando morrer, não descobrir que não vivi."

Reply via email to