Re: Exception message cleanup

From: Date: Thu, 09 Apr 2015 13:12:21 +0000
Subject: Re: Exception message cleanup
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-85755@lists.php.net to get a copy of this message
On 09/04/15 13:55, Nikita Popov wrote: >> I like the new display format, but there's one thing I miss. If you >> > replace the exception name for warnings and fatals, how does a user know >> > which exception he has to catch? > Sorry, I don't understand what you mean here. The first part of the message > says which exception you need to catch, right? Nikita is just voicing the same question as Patrick ... While you are quite correct that the new exception is listed, it now requires that all of the automatic processing knows about every new exception in order to pick them up. What I think both are saying is it needs some of the old wrapper ... especially when the new exception may not even be a public one? -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

« previous php.internals (#85755) next »