• 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

CXF interceptors, SoapFaults, and custome exceptions

Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Greetings all,

I'm trying to modify my CXF/Spring based SOAP web service into using interceptors
to capture SoapFaults and convert them into custom exceptions. The goal here is
to present a web client with only instances of my custom exception class when
things go wrong, never a SoapFault.

This is what I've managed to scrape together so far. You'd think there'd be more
on proper error handling in the various tuts and books , oh well.





Question is, what needs to go into handleFault() to throw a new instance of MyException?


Still-learning Steve
Your mother is a hamster and your father smells of tiny ads!
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic