Hi, I created a web service provider under jax-ws. My webservice will be just one method getPartInfo(). The caller will pass me an input. When I implement this getPartInfo() webservice, I will call internally my DAO ( Data Access Object) which goes to database and get the data. Then my question is what is there is an exception in DAO layer, should I throws exception like the following
public getPartInfo() throws MyAppDatabaseDownExcetpion
If doing this, the client also need to have my exception?
What is the best practice of mapping the exception and fault message? Do you have some sample or tutorial on this? Thanks