KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > security > NoSuchProviderException


1 /*
2  * @(#)NoSuchProviderException.java 1.20 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 when a particular security provider is
12  * requested but is not available in the environment.
13  *
14  * @version 1.20 03/12/19
15  * @author Benjamin Renaud
16  */

17
18 public class NoSuchProviderException extends GeneralSecurityException JavaDoc {
19
20     private static final long serialVersionUID = 8488111756688534474L;
21
22     /**
23      * Constructs a NoSuchProviderException with no detail message. A
24      * detail message is a String that describes this particular
25      * exception.
26      */

27     public NoSuchProviderException() {
28     super();
29     }
30
31     /**
32      * Constructs a NoSuchProviderException with the specified detail
33      * message. A detail message is a String that describes this
34      * particular exception.
35      *
36      * @param msg the detail message.
37      */

38     public NoSuchProviderException(String JavaDoc msg) {
39     super(msg);
40     }
41 }
42
Popular Tags