• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

About exceptions and faults

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks man. I will give it a reading.

 
The glass is neither half full or half empty. It is too big. But this tiny ad is just right:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic