[nycphp-talk] If/else vs Try/catch
Daniel Convissor
danielc at analysisandsolutions.com
Wed Nov 28 20:53:10 EST 2007
Hi Ben:
On Wed, Nov 28, 2007 at 01:33:42PM -0500, Ben Sgro (ProjectSkyLine) wrote:
>
> Which allows to me handle Exceptions two ways, one for internal logging
> and one for display to the user. I'll read the link you posted as well.
Or you can do what we do on my job. We use one exception class. What it
does upon exception depends on settings. It can log, email, or print.
Another setting is used to indicate whether or not the backtrace should
be included in the debug output.
--Dan
... snip ...
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
More information about the talk
mailing list