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