Zend_Exception is specific to the Zend Framework. Exception is the most generic PHP exception type. -- Chris Weldon
On Thu, Jan 29, 2009 at 9:07 AM, debussy007 <[email protected]> wrote: > > What is the difference between: > > > } catch (Zend_Exception $e) { > > and > > > } catch (Exception $e) { > > > ? > > > Chris Weldon wrote: >> >> } catch (Zend_Mail_Exception $e) { >> >> All cases: >> >> } catch (Zend_Exception $e) { >> -- >> Chris Weldon >> >> On Thu, Jan 29, 2009 at 8:08 AM, debussy007 <[email protected]> wrote: >>> >>> Hi, >>> >>> I would like to catch any exception that may occur, when sending a mail >>> and >>> using the config. >>> I am not sure of what I should specify in ... } catch ( ) { .... ? >>> >>> Thank you for any advice! >>> -- >>> View this message in context: >>> http://www.nabble.com/Exceptions-tp21727533p21727533.html >>> Sent from the Zend Framework mailing list archive at Nabble.com. >>> >>> >> >> >> >> -- >> Christopher Weldon >> http://chrisweldon.net >> [email protected] >> >> > > -- > View this message in context: > http://www.nabble.com/Exceptions-tp21727533p21728660.html > Sent from the Zend Framework mailing list archive at Nabble.com. > > -- Christopher Weldon http://chrisweldon.net [email protected]
