« Return to Thread: Error handling

Re: Error handling

by Bugzilla from dado@krizevci.info :: Rate this Message:

Reply to Author | View in Thread

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

 « Return to Thread: Error handling