1. /*
  2. * @(#)CertificateExpiredException.java 1.6 00/02/02
  3. *
  4. * Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.security.cert;
  11. /**
  12. * Certificate Expired Exception. This is thrown whenever the current
  13. * <code>Date</code> or the specified <code>Date</code> is after the
  14. * <code>notAfter</code> date/time specified in the validity period
  15. * of the certificate.
  16. *
  17. * @author Hemma Prafullchandra
  18. * 1.6
  19. */
  20. public class CertificateExpiredException extends CertificateException {
  21. /**
  22. * Constructs a CertificateExpiredException with no detail message. A
  23. * detail message is a String that describes this particular
  24. * exception.
  25. */
  26. public CertificateExpiredException() {
  27. super();
  28. }
  29. /**
  30. * Constructs a CertificateExpiredException with the specified detail
  31. * message. A detail message is a String that describes this
  32. * particular exception.
  33. *
  34. * @param message the detail message.
  35. */
  36. public CertificateExpiredException(String message) {
  37. super(message);
  38. }
  39. }