jdk/src/share/classes/com/sun/org/apache/xml/internal/security/signature/XMLSignatureException.java
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 2 90ce3da70b43
child 1337 e8d6cef36199
permissions -rw-r--r--
Initial load
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
 * reserved comment block
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT REMOVE OR ALTER!
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
 * Copyright  1999-2004 The Apache Software Foundation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
 *  Licensed under the Apache License, Version 2.0 (the "License");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *  you may not use this file except in compliance with the License.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 *  You may obtain a copy of the License at
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 *      http://www.apache.org/licenses/LICENSE-2.0
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 *  Unless required by applicable law or agreed to in writing, software
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *  distributed under the License is distributed on an "AS IS" BASIS,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 *  See the License for the specific language governing permissions and
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 *  limitations under the License.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
package com.sun.org.apache.xml.internal.security.signature;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
import com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
/**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
 * All XML Signature related exceptions inherit herefrom.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
 * @see MissingResourceFailureException InvalidDigestValueException InvalidSignatureValueException
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
 * @author Christian Geuer-Pollmann
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
public class XMLSignatureException extends XMLSecurityException {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
   /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
         *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
         */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
        private static final long serialVersionUID = 1L;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
   /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
    * Constructor XMLSignatureException
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
    *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
    */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
   public XMLSignatureException() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
      super();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
   }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
   /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
    * Constructor XMLSignatureException
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
    *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
    * @param _msgID
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
    */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
   public XMLSignatureException(String _msgID) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
      super(_msgID);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
   }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
   /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
    * Constructor XMLSignatureException
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
    *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
    * @param _msgID
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
    * @param exArgs
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
    */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
   public XMLSignatureException(String _msgID, Object exArgs[]) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
      super(_msgID, exArgs);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
   }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
   /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
    * Constructor XMLSignatureException
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
    *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
    * @param _msgID
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
    * @param _originalException
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
    */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
   public XMLSignatureException(String _msgID, Exception _originalException) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
      super(_msgID, _originalException);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
   }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
   /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
    * Constructor XMLSignatureException
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
    *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
    * @param _msgID
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
    * @param exArgs
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
    * @param _originalException
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
    */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
   public XMLSignatureException(String _msgID, Object exArgs[],
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
                                Exception _originalException) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
      super(_msgID, exArgs, _originalException);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
   }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
}