cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eamonn Dwyer (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2251) AssymetricBindingHandler swallows a PolicyException
Date Fri, 05 Jun 2009 15:40:07 GMT
AssymetricBindingHandler swallows a PolicyException
---------------------------------------------------

                 Key: CXF-2251
                 URL: https://issues.apache.org/jira/browse/CXF-2251
             Project: CXF
          Issue Type: Bug
          Components: WS-* Components
    Affects Versions: 2.2.2
            Reporter: Eamonn Dwyer


In the doSignBeforeEncrypt method there is 

catch (Exception e) {
   e.printStackTrace();
  //REVISIT
}

 I reckon something like this would be more appropriate.
catch (Exception e) {
            String reason = e.getMessage();
            LOG.log(Level.WARNING, "Sign before encryption failed due to : " + reason);
            throw new Fault(e);
}

I'll be submitting a patch for this soon


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message