Hi,

in my service I would like to return the complete stack trace to the
client in case an unexpected runtime exception occurs on the server.

I came across the option "exceptionMessageCauseEnabled" [1] but this
only shows the first cause throwable. When using JAX-WS this seems
actually to be the thrown exception itself (which is wrapped as cause
into a Fault), so this is not really what I'm looking for. Is there a
way to return the complete stack trace instead?

Btw. the documentation on the parameter "exceptionMessageCauseEnabled"
is not totally correct. In the listing "faultStackTraceEnabled" is
mentioned instead and I think one also needs to configure the
FaultOutInterceptor as the parameter is evaluated there. Should I
create a JIRA issue for this?

Thanks,

Gunnar

[1] 
http://cxf.apache.org/docs/debugging-and-logging.html#DebuggingandLogging-Showingthecauseexceptionmessage

Reply via email to