This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
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
Similar Threads
STUB, Dynamic Proxy, DII
Can't generate java classes from WSDL file
how to write java web service client
How to handle RemoteException?
Declaring a remote interface and RMIC