On Sep 25, 2012, at 5:26 AM, shadowlaw <[email protected]> wrote:
> i mean unexpected errors like a NPE, in which i don't have anty controle, i > don't want to send the cxf generic soap fault to the client An interceptor at the very start of the OutFaultChain should be able to do a message.getContent(Exception.class) (which will likely be a Fault object) and then inspect the getCause and remap it into anything you want to map it into. Dan > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/How-to-intercept-RuntimeException-tp5714666p5714668.html > Sent from the cxf-user mailing list archive at Nabble.com. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
