Exception message lost
Forgive me if this has been previously posted. I could not find anything similar to my problem.
I have exported a service using RMIExporter. The implementation is a POJO that throws some exceptions.
On the other side, I have a client that accesses this service via a RmiProxyFactory.
All the exceptions my service throws are caught up nicely in my client, but somewhere in the middle these exceptions lose their messages, and so my client displays an empty message.
Is there a way to avoid this? Is this normal behaviour? Is there something I am missing?
Thanks in advance.
This is a block of text that can be added to posts you make. There is a 255 character limit.