[
https://issues.apache.org/jira/browse/CXF-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080412#comment-13080412
]
David Liu commented on CXF-3712:
--------------------------------
Hi Sergey,
yup, I know in cxf 2.4 can propagate the exception, however, what I want is
to only return the exception name and error message, without returning its
stackTrace.
In CXF soap serice, we can set faultStackTraceEnabled=false not to return the
whole stackTrace to the client, I want the same flag in the CXF RESTful service
to only return exception name and message without stack trace. thanks.
David
> disable exception stack traces in CXF Rest
> ------------------------------------------
>
> Key: CXF-3712
> URL: https://issues.apache.org/jira/browse/CXF-3712
> Project: CXF
> Issue Type: New Feature
> Affects Versions: 2.2.10
> Reporter: David Liu
> Priority: Minor
>
> Hi,
> The *faultStackTraceEnabled* flag in Soap Endpoint is very useful. and I am
> wondering if we can have the same flag in CXF's Restful service endpoint.
> PS. I know we can use ExceptionMapper in CXF Restful endpoint, however, a
> faultStackTraceEnabled flag would be very useful for all developers. thanks.
> David
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira