Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 099B5100D1 for ; Thu, 3 Oct 2013 09:11:23 +0000 (UTC) Received: (qmail 10951 invoked by uid 500); 3 Oct 2013 09:11:21 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 10819 invoked by uid 500); 3 Oct 2013 09:11:19 -0000 Mailing-List: contact commits-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 commits@cxf.apache.org Received: (qmail 10808 invoked by uid 99); 3 Oct 2013 09:11:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Oct 2013 09:11:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Oct 2013 09:11:18 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 05CA023888A6; Thu, 3 Oct 2013 09:10:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1528762 - /cxf/branches/2.7.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java Date: Thu, 03 Oct 2013 09:10:54 -0000 To: commits@cxf.apache.org From: coheigea@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20131003091055.05CA023888A6@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: coheigea Date: Thu Oct 3 09:10:54 2013 New Revision: 1528762 URL: http://svn.apache.org/r1528762 Log: Merged revisions 1528761 via git cherry-pick from https://svn.apache.org/repos/asf/cxf/trunk ........ r1528761 | coheigea | 2013-10-03 10:03:40 +0100 (Thu, 03 Oct 2013) | 2 lines [CXF-5317] - Policy exception handler throws away useful exception stack trace ........ Modified: cxf/branches/2.7.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java Modified: cxf/branches/2.7.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java?rev=1528762&r1=1528761&r2=1528762&view=diff ============================================================================== --- cxf/branches/2.7.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java (original) +++ cxf/branches/2.7.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java Thu Oct 3 09:10:54 2013 @@ -291,7 +291,7 @@ public abstract class AbstractBindingBui } } if (!assertion.isOptional()) { - throw new PolicyException(new Message(reason.getMessage(), LOG)); + throw new PolicyException(new Message(reason.getMessage(), LOG), reason); } }