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

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top