Catch individual exceptions

Started by Nonamealmost 20 years ago2 messagesgeneral
Jump to latest
#1Noname
sconeek@gmail.com

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.

#2Chris
dmagick@gmail.com
In reply to: Noname (#1)
Re: Catch individual exceptions

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/