1 |
/* Copyright (C) 2000 Free Software Foundation |
/* InvalidKeyException -- thrown for an invalid key |
2 |
|
Copyright (C) 2000, 2002 Free Software Foundation |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
38 |
package java.security; |
package java.security; |
39 |
|
|
40 |
/** |
/** |
41 |
|
* Thrown for an invalid key. |
42 |
|
* |
43 |
* @author Warren Levy <warrenl@cygnus.com> |
* @author Warren Levy <warrenl@cygnus.com> |
44 |
* @date February 1, 2000. |
* @status updated to 1.4 |
45 |
*/ |
*/ |
|
|
|
|
/** |
|
|
* Written using on-line Java Platform 1.2 API Specification. |
|
|
* Status: Believed complete and correct. |
|
|
*/ |
|
|
|
|
46 |
public class InvalidKeyException extends KeyException |
public class InvalidKeyException extends KeyException |
47 |
{ |
{ |
48 |
|
/** |
49 |
|
* Compatible with JDK 1.1+. |
50 |
|
*/ |
51 |
|
private static final long serialVersionUID = 5698479920593359816L; |
52 |
|
|
53 |
|
/** |
54 |
|
* Construct an exception with no message. |
55 |
|
*/ |
56 |
public InvalidKeyException() |
public InvalidKeyException() |
57 |
{ |
{ |
|
super(); |
|
58 |
} |
} |
59 |
|
|
60 |
|
/** |
61 |
|
* Construct an exception with a message. |
62 |
|
* |
63 |
|
* @param msg the message |
64 |
|
*/ |
65 |
public InvalidKeyException(String msg) |
public InvalidKeyException(String msg) |
66 |
{ |
{ |
67 |
super(msg); |
super(msg); |