Hi, I will explain the basic problem.In our application using servicemix, we have two modules( module1 & module2). module1 - is the front end(jsp and servlets) module2 - is the back end(ejb and dao)
if any exception occurs in module2(like SQLQueryException), i will create application specific Exception(MyDatabaseException) and throw. i want to get this application specific Exception in module1, so that i can handle it appropriately and show appropriate message to the user. write now what is happening is when module2 throws MyDatabaseException, what i get in module1 is AxisfaultException. What ever Exception occurs in module2 i get AxisfaultException in module1. So i am not able to handle Exception properly in module1. Is there is any standard solution for passing application specific Exception across servicemix? Thanks Dibin gnodet wrote: > > Could you provide more details please ? > If you use soap for example, soap faults should be > sent back as a JBI fault. AFAIK, servicemix never > throws a RemoteException itself, so it may be one > of the underlying protocol you use. > > On 12/26/06, dibin <[EMAIL PROTECTED]> wrote: >> >> Hi All, >> >> We are making a product using servicemix. the product has two modules. >> the first module calls the webservice methods which the second module >> exposes. >> >> Now the problem is whenever an exception occurs in second module, it >> throws >> a application specific exception. but the servicemix throws only >> RemoteException back to module1. >> >> If anybody knows a standard solution to this please kindly share. >> >> Thanks in advance >> Dibin >> -- >> View this message in context: >> http://www.nabble.com/Exception-handling-in-a-product-which-uses-servicemix-tf2881522s12049.html#a8051502 >> Sent from the ServiceMix - User mailing list archive at Nabble.com. >> >> > > > -- > Cheers, > Guillaume Nodet > > -- View this message in context: http://www.nabble.com/Exception-handling-in-a-product-which-uses-servicemix-tf2881522s12049.html#a8052172 Sent from the ServiceMix - User mailing list archive at Nabble.com.
