1 |
/* KeyException.java -- Thrown when there is a problem with a key |
/* KeyException.java -- Thrown when there is a problem with a key |
2 |
Copyright (C) 1998 Free Software Foundation, Inc. |
Copyright (C) 1998, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
40 |
/** |
/** |
41 |
* This exception is thrown when there is a problem with a key. |
* This exception is thrown when there is a problem with a key. |
42 |
* |
* |
43 |
* @version 0.0 |
* @author Aaron M. Renn <arenn@urbanophile.com> |
44 |
* |
* @see Key |
45 |
* @author Aaron M. Renn (arenn@urbanophile.com) |
* @status updated to 1.4 |
46 |
*/ |
*/ |
47 |
public class KeyException extends GeneralSecurityException |
public class KeyException extends GeneralSecurityException |
48 |
{ |
{ |
49 |
/** |
/** |
50 |
|
* Compatible with JDK 1.1+. |
51 |
|
*/ |
52 |
|
private static final long serialVersionUID = -7483676942812432108L; |
53 |
|
|
54 |
|
/** |
55 |
* This method initializes a new instance of <code>KeyException</code> |
* This method initializes a new instance of <code>KeyException</code> |
56 |
* with no descriptive message. |
* with no descriptive message. |
57 |
*/ |
*/ |
58 |
public KeyException() |
public KeyException() |
59 |
{ |
{ |
|
super(); |
|
60 |
} |
} |
61 |
|
|
62 |
/** |
/** |
63 |
* This method initializes a new instance of <code>KeyException</code> |
* This method initializes a new instance of <code>KeyException</code> |
64 |
* with a descriptive message. |
* with a descriptive message. |
65 |
* |
* |
66 |
* @param msg The descriptive message. |
* @param msg the descriptive message |
67 |
*/ |
*/ |
68 |
public KeyException(String msg) |
public KeyException(String msg) |
69 |
{ |
{ |