CXF interceptors, SoapFaults, and custome exceptions
posted 2 years ago
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?