1. /*
  2. * @(#)CertificateEncodingException.java 1.6 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 Encoding Exception. This is thrown whenever an error
  10. * occurs while attempting to encode a certificate.
  11. *
  12. * @author Hemma Prafullchandra
  13. * 1.6
  14. */
  15. public class CertificateEncodingException extends CertificateException {
  16. /**
  17. * Constructs a CertificateEncodingException with no detail message. A
  18. * detail message is a String that describes this particular
  19. * exception.
  20. */
  21. public CertificateEncodingException() {
  22. super();
  23. }
  24. /**
  25. * Constructs a CertificateEncodingException with the specified detail
  26. * message. A detail message is a String that describes this
  27. * particular exception.
  28. *
  29. * @param message the detail message.
  30. */
  31. public CertificateEncodingException(String message) {
  32. super(message);
  33. }
  34. }