1. /*
  2. * @(#)CertificateException.java 1.27 00/02/02
  3. *
  4. * Copyright 1996-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. import java.security.GeneralSecurityException;
  12. /**
  13. * This exception indicates one of a variety of certificate problems.
  14. *
  15. * @author Hemma Prafullchandra
  16. * @version 1.27
  17. * @see Certificate
  18. */
  19. public class CertificateException extends GeneralSecurityException {
  20. /*
  21. * Constructs a certificate exception with no detail message. A detail
  22. * message is a String that describes this particular exception.
  23. */
  24. public CertificateException() {
  25. super();
  26. }
  27. /**
  28. * Constructs a certificate exception with the given detail
  29. * message. A detail message is a String that describes this
  30. * particular exception.
  31. *
  32. * @param msg the detail message.
  33. */
  34. public CertificateException(String msg) {
  35. super(msg);
  36. }
  37. }