home *** CD-ROM | disk | FTP | other *** search
/ Java 1.2 How-To / JavaHowTo.iso / 3rdParty / jbuilder / unsupported / JDK1.2beta3 / SOURCE / SRC.ZIP / java / security / cert / CertificateExpiredException.java < prev    next >
Encoding:
Java Source  |  1998-03-20  |  1.4 KB  |  48 lines

  1. /*
  2.  * @(#)CertificateExpiredException.java    1.3 98/03/18
  3.  *
  4.  * Copyright 1997 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  *
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14.  
  15. package java.security.cert;
  16.  
  17. /**
  18.  * Certificate Expired Exception. This is thrown whenever the current
  19.  * <code>Date</code> or the specified <code>Date</code> is after the
  20.  * <code>notAfter</code> date/time specified in the validity period
  21.  * of the certificate.
  22.  *
  23.  * @author Hemma Prafullchandra
  24.  * 1.3
  25.  */
  26. public class CertificateExpiredException extends CertificateException {
  27.  
  28.     /**
  29.      * Constructs a CertificateExpiredException with no detail message. A
  30.      * detail message is a String that describes this particular
  31.      * exception.
  32.      */
  33.     public CertificateExpiredException() {
  34.         super();
  35.     }
  36.  
  37.     /**
  38.      * Constructs a CertificateExpiredException with the specified detail
  39.      * message. A detail message is a String that describes this
  40.      * particular exception.
  41.      *   
  42.      * @param message the detail message.
  43.      */
  44.     public CertificateExpiredException(String message) {
  45.         super(message);
  46.     }
  47. }
  48.