Re: Try{} Catch()

From: Date: Sun, 23 Dec 2007 21:58:58 +0000
Subject: Re: Try{} Catch()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-266243@lists.php.net to get a copy of this message
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...


« previous php.general (#266243) next »