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