Hi all, Just a small brainstorm question: what type of exception do you use in service classes? In controllers, I use often the Zend_Controller_Action_Exception, which can throw a 404 or 500 http error. At other places, other exceptions are more in place (eg a Zend_Auth_Exceptions for a 403 and "login required" dialog).
But, a service class (eg a Blog_Service_Article which fetches articles from different categories for the blog module): what should it throw? In ZF1, SPL exceptions are not used often. Zend_Service_Exception seems not the right one either. So: what do you use? Regards, Jurian -- Jurian Sluiman Soflomo - http://soflomo.com -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
