File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes exception inheritance in web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "exception inheritance in web service" Watch "exception inheritance in web service" New topic

exception inheritance in web service

Yan Zhou
Ranch Hand

Joined: Sep 02, 2003
Posts: 137
When it comes service-specific exception, Sun's Web Service Blue Print early access says:
Exception inheritance is lost when service end point throws a service specific exception. For instance, if I have ServiceException derived from RootException, which dervies from Exception, and the code throws ServiceException, the documentation seems to indicate that the data and methods derived from RootException will be lost when the exception reaches the client.
I am not sure I understand this, could anyone explain why this is so?
I agree. Here's the link:
subject: exception inheritance in web service
It's not a secret anymore!