Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

About exceptions and faults

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

I have to admit - after reading RMH and MZ's Study Guide, I am still confused as to how faults are converted into Java exceptions. I mean, what kind of faults get converted to what types of exceptions both on the client and the server side. I have read about JAXRPCException and SOAPFaultException but dont understand what is thrown where and how it should be interpreted on the client side and server side. There is not enough coverage on this topic in either of the books.

Could anyone please explain a little about this or direct me to any articles/books that explain this topic in more detail ?

Thanks,
Sonu
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here are the links to the articles. They explained clearly what kind of exceptions can occur and how to handle them.


User Defined Exceptions: Improve Error Handling in Web Services
http://www.developer.com/java/web/article.php/3493491

Web services programming tips and tricks: Exception Handling with JAX-RPC
http://www-128.ibm.com/developerworks/webservices/library/ws-tip-jaxrpc.html


--Cheers..
 
Sonu Sharma
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks man. I will give it a reading.

 
girl power ... turns out to be about a hundred watts. But they seriuosly don't like being connected to the grid. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic