KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > security > UnrecoverableKeyException


1 /*
2  * @(#)UnrecoverableKeyException.java 1.10 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package java.security;
9
10 /**
11  * This exception is thrown if a key in the keystore cannot be recovered.
12  *
13  * @version 1.10, 12/19/03
14  *
15  * @since 1.2
16  */

17
18 public class UnrecoverableKeyException extends GeneralSecurityException JavaDoc {
19
20     private static final long serialVersionUID = 7275063078190151277L;
21
22     /**
23      * Constructs an UnrecoverableKeyException with no detail message.
24      */

25     public UnrecoverableKeyException() {
26     super();
27     }
28
29     /**
30      * Constructs an UnrecoverableKeyException with the specified detail
31      * message, which provides more information about why this exception
32      * has been thrown.
33      *
34      * @param msg the detail message.
35      */

36    public UnrecoverableKeyException(String JavaDoc msg) {
37        super(msg);
38     }
39 }
40
Popular Tags