KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)CertificateNotYetValidException.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 is not yet valid exception. This is thrown whenever
12  * the current <code>Date</code> or the specified <code>Date</code>
13  * is before the <code>notBefore</code> date/time in the Certificate
14  * validity period.
15  *
16  * @author Hemma Prafullchandra
17  * 1.10
18  */

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

28     public CertificateNotYetValidException() {
29         super();
30     }
31
32     /**
33      * Constructs a CertificateNotYetValidException 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 CertificateNotYetValidException(String JavaDoc message) {
40         super(message);
41     }
42 }
43
Popular Tags