KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)CertificateExpiredException.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  * Certificate Expired Exception. This is thrown whenever the current
20  * <code>Date</code> or the specified <code>Date</code> is after the
21  * <code>notAfter</code> date/time specified in the validity period
22  * of the certificate.
23  *
24  * <p><em>Note: The classes in the package <code>javax.security.cert</code>
25  * exist for compatibility with earlier versions of the
26  * Java Secure Sockets Extension (JSSE). New applications should instead
27  * use the standard J2SE certificate classes located in
28  * <code>java.security.cert</code>.</em></p>
29  *
30  * @since 1.4
31  * @author Hemma Prafullchandra
32  * @version 1.7
33  */

34 public class CertificateExpiredException extends CertificateException
35 {
36
37     /**
38      * Constructs a CertificateExpiredException with no detail message. A
39      * detail message is a String that describes this particular
40      * exception.
41      */

42     public CertificateExpiredException() { }
43
44     /**
45      * Constructs a CertificateExpiredException with the specified detail
46      * message. A detail message is a String that describes this
47      * particular exception.
48      *
49      * @param message the detail message.
50      */

51     public CertificateExpiredException(String message) { }
52 }
53
Popular Tags