You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by "Guy Rixon (JIRA)" <ji...@apache.org> on 2005/08/09 12:21:35 UTC

[jira] Created: (WSS-14) Duplicate catch-block in WSSecurityEngine

Duplicate catch-block in WSSecurityEngine
-----------------------------------------

         Key: WSS-14
         URL: http://issues.apache.org/jira/browse/WSS-14
     Project: WSS4J
        Type: Bug
 Environment: WSS4J 1.0.0
    Reporter: Guy Rixon
 Assigned to: Davanum Srinivas 
    Priority: Minor


At line 474 in WSSecurityEngine.java there is a try-catch construct in which the catch-block is duplicated.

        try {
            sig = new XMLSignature(elem, null);
        } catch (XMLSignatureException e2) {
            throw new WSSecurityException(WSSecurityException.FAILED_CHECK,
                    "noXMLSig");
        } catch (XMLSecurityException e2) {
            throw new WSSecurityException(WSSecurityException.FAILED_CHECK,
                    "noXMLSig");
        }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Closed: (WSS-14) Duplicate catch-block in WSSecurityEngine

Posted by "Werner Dittmann (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/WSS-14?page=all ]
     
Werner Dittmann closed WSS-14:
------------------------------

    Resolution: Fixed

Removed 2nd catch block

> Duplicate catch-block in WSSecurityEngine
> -----------------------------------------
>
>          Key: WSS-14
>          URL: http://issues.apache.org/jira/browse/WSS-14
>      Project: WSS4J
>         Type: Bug
>  Environment: WSS4J 1.0.0
>     Reporter: Guy Rixon
>     Assignee: Davanum Srinivas
>     Priority: Minor

>
> At line 474 in WSSecurityEngine.java there is a try-catch construct in which the catch-block is duplicated.
>         try {
>             sig = new XMLSignature(elem, null);
>         } catch (XMLSignatureException e2) {
>             throw new WSSecurityException(WSSecurityException.FAILED_CHECK,
>                     "noXMLSig");
>         } catch (XMLSecurityException e2) {
>             throw new WSSecurityException(WSSecurityException.FAILED_CHECK,
>                     "noXMLSig");
>         }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Closed: (WSS-14) Duplicate catch-block in WSSecurityEngine

Posted by "Werner Dittmann (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/WSS-14?page=all ]
     
Werner Dittmann closed WSS-14:
------------------------------

    Resolution: Fixed

Removed 2nd catch block

> Duplicate catch-block in WSSecurityEngine
> -----------------------------------------
>
>          Key: WSS-14
>          URL: http://issues.apache.org/jira/browse/WSS-14
>      Project: WSS4J
>         Type: Bug
>  Environment: WSS4J 1.0.0
>     Reporter: Guy Rixon
>     Assignee: Davanum Srinivas
>     Priority: Minor

>
> At line 474 in WSSecurityEngine.java there is a try-catch construct in which the catch-block is duplicated.
>         try {
>             sig = new XMLSignature(elem, null);
>         } catch (XMLSignatureException e2) {
>             throw new WSSecurityException(WSSecurityException.FAILED_CHECK,
>                     "noXMLSig");
>         } catch (XMLSecurityException e2) {
>             throw new WSSecurityException(WSSecurityException.FAILED_CHECK,
>                     "noXMLSig");
>         }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org