src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/signature/XMLSignatureException.java
changeset 50614 3810c9a2efa1
parent 47216 71c04702a3d5
equal deleted inserted replaced
50613:0f93a75b9213 50614:3810c9a2efa1
    26 
    26 
    27 /**
    27 /**
    28  * All XML Signature related exceptions inherit herefrom.
    28  * All XML Signature related exceptions inherit herefrom.
    29  *
    29  *
    30  * @see MissingResourceFailureException InvalidDigestValueException InvalidSignatureValueException
    30  * @see MissingResourceFailureException InvalidDigestValueException InvalidSignatureValueException
    31  * @author Christian Geuer-Pollmann
       
    32  */
    31  */
    33 public class XMLSignatureException extends XMLSecurityException {
    32 public class XMLSignatureException extends XMLSecurityException {
    34 
    33 
    35     /**
    34     /**
    36      *
    35      *
    41      * Constructor XMLSignatureException
    40      * Constructor XMLSignatureException
    42      *
    41      *
    43      */
    42      */
    44     public XMLSignatureException() {
    43     public XMLSignatureException() {
    45         super();
    44         super();
       
    45     }
       
    46 
       
    47     public XMLSignatureException(Exception ex) {
       
    48         super(ex);
    46     }
    49     }
    47 
    50 
    48     /**
    51     /**
    49      * Constructor XMLSignatureException
    52      * Constructor XMLSignatureException
    50      *
    53      *
    65     }
    68     }
    66 
    69 
    67     /**
    70     /**
    68      * Constructor XMLSignatureException
    71      * Constructor XMLSignatureException
    69      *
    72      *
       
    73      * @param originalException
    70      * @param msgID
    74      * @param msgID
    71      * @param originalException
       
    72      */
    75      */
       
    76     public XMLSignatureException(Exception originalException, String msgID) {
       
    77         super(originalException, msgID);
       
    78     }
       
    79 
       
    80     @Deprecated
    73     public XMLSignatureException(String msgID, Exception originalException) {
    81     public XMLSignatureException(String msgID, Exception originalException) {
    74         super(msgID, originalException);
    82         this(originalException, msgID);
    75     }
    83     }
    76 
    84 
    77     /**
    85     /**
    78      * Constructor XMLSignatureException
    86      * Constructor XMLSignatureException
    79      *
    87      *
       
    88      * @param originalException
    80      * @param msgID
    89      * @param msgID
    81      * @param exArgs
    90      * @param exArgs
    82      * @param originalException
       
    83      */
    91      */
    84     public XMLSignatureException(String msgID, Object exArgs[], Exception originalException) {
    92     public XMLSignatureException(Exception originalException, String msgID, Object exArgs[]) {
    85         super(msgID, exArgs, originalException);
    93         super(originalException, msgID, exArgs);
       
    94     }
       
    95 
       
    96     @Deprecated
       
    97     public XMLSignatureException(String msgID, Object[] exArgs, Exception originalException) {
       
    98         this(originalException, msgID, exArgs);
    86     }
    99     }
    87 }
   100 }