1. /*
  2. * @(#)CertificateNotYetValidException.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 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.5
  16. */
  17. public class CertificateNotYetValidException extends CertificateException {
  18. /**
  19. * Constructs a CertificateNotYetValidException with no detail message. A
  20. * detail message is a String that describes this particular
  21. * exception.
  22. */
  23. public CertificateNotYetValidException() {
  24. super();
  25. }
  26. /**
  27. * Constructs a CertificateNotYetValidException 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 CertificateNotYetValidException(String message) {
  34. super(message);
  35. }
  36. }