Re: Try{} Catch()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try{} catch{} makes more sense when your application is Object Oriented and you use the MVC model. Your library performs some actions but when an error occures, it can't write directly to your browser. Your modules speak with your library and checks if an error occures.. If so a decent error message can be shown...


Al schreef:
Try() and Catch() seems neat; but, I've not found it to be very practical.

Anyone using it? How?

Al...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux