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. 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.10
  16. */
  17. public class CertificateExpiredException extends CertificateException {
  18. private static final long serialVersionUID = 9071001339691533771L;
  19. /**
  20. * Constructs a CertificateExpiredException with no detail message. A
  21. * detail message is a String that describes this particular
  22. * exception.
  23. */
  24. public CertificateExpiredException() {
  25. super();
  26. }
  27. /**
  28. * Constructs a CertificateExpiredException with the specified detail
  29. * message. A detail message is a String that describes this
  30. * particular exception.
  31. *
  32. * @param message the detail message.
  33. */
  34. public CertificateExpiredException(String message) {
  35. super(message);
  36. }
  37. }