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.