KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > org > apache > xml > internal > security > signature > InvalidDigestValueException


1
2 /*
3  * Copyright 1999-2004 The Apache Software Foundation.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */

18 package com.sun.org.apache.xml.internal.security.signature;
19
20
21
22 /**
23  * Raised when the computed hash value doesn't match the given <i>DigestValue</i>. Additional human readable info is passed to the constructor -- this being the benefit of raising an exception or returning a value.
24  *
25  * @author Christian Geuer-Pollmann
26  */

27 public class InvalidDigestValueException extends XMLSignatureException {
28
29    /**
30      *
31      */

32     private static final long serialVersionUID = 1L;
33
34    /**
35     * Constructor InvalidDigestValueException
36     *
37     */

38    public InvalidDigestValueException() {
39       super();
40    }
41
42    /**
43     * Constructor InvalidDigestValueException
44     *
45     * @param _msgID
46     */

47    public InvalidDigestValueException(String JavaDoc _msgID) {
48       super(_msgID);
49    }
50
51    /**
52     * Constructor InvalidDigestValueException
53     *
54     * @param _msgID
55     * @param exArgs
56     */

57    public InvalidDigestValueException(String JavaDoc _msgID, Object JavaDoc exArgs[]) {
58       super(_msgID, exArgs);
59    }
60
61    /**
62     * Constructor InvalidDigestValueException
63     *
64     * @param _msgID
65     * @param _originalException
66     */

67    public InvalidDigestValueException(String JavaDoc _msgID,
68                                       Exception JavaDoc _originalException) {
69       super(_msgID, _originalException);
70    }
71
72    /**
73     * Constructor InvalidDigestValueException
74     *
75     * @param _msgID
76     * @param exArgs
77     * @param _originalException
78     */

79    public InvalidDigestValueException(String JavaDoc _msgID, Object JavaDoc exArgs[],
80                                       Exception JavaDoc _originalException) {
81       super(_msgID, exArgs, _originalException);
82    }
83 }
84
Popular Tags