Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DAD9919F19 for ; Mon, 28 Mar 2016 07:25:25 +0000 (UTC) Received: (qmail 82605 invoked by uid 500); 28 Mar 2016 07:25:25 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 82568 invoked by uid 500); 28 Mar 2016 07:25:25 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 82557 invoked by uid 99); 28 Mar 2016 07:25:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2016 07:25:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8B5332C14FB for ; Mon, 28 Mar 2016 07:25:25 +0000 (UTC) Date: Mon, 28 Mar 2016 07:25:25 +0000 (UTC) From: "Jim Ma (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-6842) Unwrap exception nested with WebApplicationException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-6842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15213911#comment-15213911 ] Jim Ma commented on CXF-6842: ----------------------------- Hi Sergey, There is similar item defined in jaxrs 1.1 6.3 to unwrap an EJBException. I think it's no harm to unwrap an exception other than EJBException if the nested exception is WAE. > Unwrap exception nested with WebApplicationException > ---------------------------------------------------- > > Key: CXF-6842 > URL: https://issues.apache.org/jira/browse/CXF-6842 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Affects Versions: 3.1.5 > Reporter: Jim Ma > Assignee: Jim Ma > Fix For: 3.2.0, 3.1.6 > > > In a resource class, if an exception is thrown which is nested with WebApplicationException, cxf can try to get the cause and create response from WebApplicationException -- This message was sent by Atlassian JIRA (v6.3.4#6332)