aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "exception inheritance in web service" Watch "exception inheritance in web service" New topic
Author

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?
Thanks.
Yan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: exception inheritance in web service