01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * 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: /**
19: * @author Vera Y. Petrashkova
20: * @version $Revision$
21: */package java.security;
22:
23: /**
24: * Used when invalid cryptography keys are used.
25: *
26: * @see Throwable
27: * @see Error
28: */
29: public class InvalidKeyException extends KeyException {
30:
31: /**
32: * @com.intel.drl.spec_ref
33: */
34: private static final long serialVersionUID = 5698479920593359816L;
35:
36: /**
37: * Constructs a new instance of this class with its walkback and message
38: * filled in.
39: *
40: *
41: * @param msg
42: * String The detail message for the exception.
43: */
44: public InvalidKeyException(String msg) {
45: super (msg);
46: }
47:
48: /**
49: * Constructs a new instance of this class with its walkback filled in.
50: *
51: */
52: public InvalidKeyException() {
53: }
54:
55: /**
56: * @com.intel.drl.spec_ref
57: */
58: public InvalidKeyException(String message, Throwable cause) {
59: super (message, cause);
60: }
61:
62: /**
63: * @com.intel.drl.spec_ref
64: */
65: public InvalidKeyException(Throwable cause) {
66: super(cause);
67: }
68: }
|