KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)CertificateExpiredException.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.cert;
9
10 /**
11  * Certificate Expired Exception. This is thrown whenever the current
12  * <code>Date</code> or the specified <code>Date</code> is after the
13  * <code>notAfter</code> date/time specified in the validity period
14  * of the certificate.
15  *
16  * @author Hemma Prafullchandra
17  * 1.10
18  */

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

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

39     public CertificateExpiredException(String JavaDoc message) {
40         super(message);
41     }
42 }
43
Popular Tags