1. /*
  2. * @(#)CertificateEncodingException.java 1.7 00/02/02
  3. *
  4. * Copyright 1997-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. /**
  12. * Certificate Encoding Exception. This is thrown whenever an error
  13. * occurs while attempting to encode a certificate.
  14. *
  15. * @author Hemma Prafullchandra
  16. * 1.7
  17. */
  18. public class CertificateEncodingException extends CertificateException {
  19. /**
  20. * Constructs a CertificateEncodingException with no detail message. A
  21. * detail message is a String that describes this particular
  22. * exception.
  23. */
  24. public CertificateEncodingException() {
  25. super();
  26. }
  27. /**
  28. * Constructs a CertificateEncodingException 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 CertificateEncodingException(String message) {
  35. super(message);
  36. }
  37. }