Re: Exception handling in PHP
| From: | Prabath Kumarasinghe | Date: | Thu, 07 Feb 2008 08:20:39 +0000 |
| Subject: | Re: Exception handling in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268852@lists.php.net to get a copy of this message | ||
Understood, Thanks Paul
Cheers
Prabath
--- Paul Scott <pscott@uwc.ac.za> wrote:
>
> On Wed, 2008-02-06 at 23:37 -0800, Prabath
> Kumarasinghe wrote:
> > Does that mean for every exception do we have to
> write
> > our custom exception and describe it from our own
> > message
> >
>
> No, it means that when you want to throw a
> meaningful exception, you
> need to type in a message. I mentioned custom
> exceptions, because that
> is what I do, as I multilingualise my messages and
> do other things with
> the exception, like display an XHTML page to the
> users.
>
> --Paul
>
> > All Email originating from UWC is covered by
> disclaimer
>
http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm
>
>
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping