KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > security > cert > CertificateException


1 /*
2  * @(#)CertificateException.java 1.8 04/02/16
3  *
4  * Copyright (c) 2004 Sun Microsystems, Inc. All Rights Reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7   
8 /*
9  * NOTE:
10  * Because of various external restrictions (i.e. US export
11  * regulations, etc.), the actual source code can not be provided
12  * at this time. This file represents the skeleton of the source
13  * file, so that javadocs of the API can be created.
14  */

15
16 package javax.security.cert;
17
18 /**
19  * This exception indicates one of a variety of certificate problems.
20  *
21  * <p><em>Note: The classes in the package <code>javax.security.cert</code>
22  * exist for compatibility with earlier versions of the
23  * Java Secure Sockets Extension (JSSE). New applications should instead
24  * use the standard J2SE certificate classes located in
25  * <code>java.security.cert</code>.</em></p>
26  *
27  * @author Hemma Prafullchandra
28  * @version 1.29
29  * @since 1.4
30  * @see Certificate
31  */

32 public class CertificateException extends Exception
33 {
34
35     /**
36      * Constructs a certificate exception with no detail message. A detail
37      * message is a String that describes this particular exception.
38      */

39     public CertificateException() { }
40
41     /**
42      * Constructs a certificate exception with the given detail
43      * message. A detail message is a String that describes this
44      * particular exception.
45      *
46      * @param msg the detail message.
47      */

48     public CertificateException(String msg) { }
49 }
50
Popular Tags