1. /*
  2. * @(#)CertificateParsingException.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 Parsing Exception. This is thrown whenever an
  13. * invalid DER-encoded certificate is parsed or unsupported DER features
  14. * are found in the Certificate.
  15. *
  16. * @author Hemma Prafullchandra
  17. * 1.7
  18. */
  19. public class CertificateParsingException extends CertificateException {
  20. /**
  21. * Constructs a CertificateParsingException with no detail message. A
  22. * detail message is a String that describes this particular
  23. * exception.
  24. */
  25. public CertificateParsingException() {
  26. super();
  27. }
  28. /**
  29. * Constructs a CertificateParsingException with the specified detail
  30. * message. A detail message is a String that describes this
  31. * particular exception.
  32. *
  33. * @param message the detail message.
  34. */
  35. public CertificateParsingException(String message) {
  36. super(message);
  37. }
  38. }