2009年7月1日星期三

Re: [fw-mvc] Error handling

On Wednesday 01 July 2009 23:06:31 Ed Lazor wrote:
> Is it best to create your own exception classes and build them with
> built-in logging or do you recommend a different approach? I'm
> noticing that the zend exception classes are all empty - is that
> because they're just used to define different types of exceptions?

That's right, because exception classes don't handle the exceptions
themselves, they're passed to the code that does.

--
Dado

没有评论: