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. package java.security.cert;
  8. /**
  9. * Certificate is not yet valid exception. This is thrown whenever
  10. * the current <code>Date</code> or the specified <code>Date</code>
  11. * is before the <code>notBefore</code> date/time in the Certificate
  12. * validity period.
  13. *
  14. * @author Hemma Prafullchandra
  15. * 1.10
  16. */
  17. public class CertificateNotYetValidException extends CertificateException {
  18. static final long serialVersionUID = 4355919900041064702L;
  19. /**
  20. * Constructs a CertificateNotYetValidException with no detail message. A
  21. * detail message is a String that describes this particular
  22. * exception.
  23. */
  24. public CertificateNotYetValidException() {
  25. super();
  26. }
  27. /**
  28. * Constructs a CertificateNotYetValidException 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 CertificateNotYetValidException(String message) {
  35. super(message);
  36. }
  37. }