Thread: Catch individual exceptions

Catch individual exceptions

From
sconeek@gmail.com
Date:
hi all,
i want to capture individual sqlexceptions and for each different
exception i want to display a different message to the user. the
problem is how should i capture from the exception of its type-content
and then display a customised message.
all help appreciated.
thanks.


Re: Catch individual exceptions

From
"chris smith"
Date:
On 3 May 2006 19:16:17 -0700, sconeek@gmail.com <sconeek@gmail.com> wrote:
> hi all,
> i want to capture individual sqlexceptions and for each different
> exception i want to display a different message to the user. the
> problem is how should i capture from the exception of its type-content
> and then display a customised message.

Wouldn't the programming language you're using handle this? (Which
language is it?)

--
Postgresql & php tutorials
http://www.designmagick.com/