Hi, i would like to know how i can intercept and throw server side
errors and show the message on client side.
I'm using several assemblers and, actually, i just catch the error
thrown by the method and throw a generic "DataServiceException" in
this way:
public void deleteItem(Object prevVers){
try{
tributiService.deleteSchedaImposta((SchedaImposta)prevVers);
}catch (Exception e){
e.printStackTrace();
throw new DataServiceException();
}
}
But, when an error occur on that method, the fault.string is empty.
Any suggestion?
Thank you very much