1. /*
  2. * @(#)CertificateException.java 1.30 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.security.cert;
  8. import java.security.GeneralSecurityException;
  9. /**
  10. * This exception indicates one of a variety of certificate problems.
  11. *
  12. * @author Hemma Prafullchandra
  13. * @version 1.30
  14. * @see Certificate
  15. */
  16. public class CertificateException extends GeneralSecurityException {
  17. /**
  18. * Constructs a certificate exception with no detail message. A detail
  19. * message is a String that describes this particular exception.
  20. */
  21. public CertificateException() {
  22. super();
  23. }
  24. /**
  25. * Constructs a certificate exception with the given detail
  26. * message. A detail message is a String that describes this
  27. * particular exception.
  28. *
  29. * @param msg the detail message.
  30. */
  31. public CertificateException(String msg) {
  32. super(msg);
  33. }
  34. }