I ahve a webservice that uses oracle to access a db

If an error occures, an oracleexception is thrown on the webservice... But this exception is never relayed to the client calling the webservice.. this is what I do in the webservice:


catch ex as oracleexception
publish(ex)
throw ex
...



I log the error on the webserver, and then I throw the exception up in the hierarcy.

Ïs this wrong?


I want to be able to catch this exception on my client as well


/Henrik