Creating Custom SoapException without catching each exception thrown

J

John Harkin

Hi,
I have an exsisting Asp.net web service which calls methods that can
raise a custom exception.
I would like to use info in this custom exception to formulate the
SoapException. I know this is possible , could catch in each web
service method the custom exception and then using its data to create
a SoapException. However i don't want to have to write the try catch
block for each web serrvice method.
Is there any way of setting up a global exception handler for the
webservice which i could then use to create the ComException in one
place.

Regards
John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top