KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > security > cert > CertificateParsingException


1 /*
2  * @(#)CertificateParsingException.java 1.8 04/02/16
3  *
4  * Copyright (c) 2004 Sun Microsystems, Inc. All Rights Reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7   
8 /*
9  * NOTE:
10  * Because of various external restrictions (i.e. US export
11  * regulations, etc.), the actual source code can not be provided
12  * at this time. This file represents the skeleton of the source
13  * file, so that javadocs of the API can be created.
14  */

15
16 package javax.security.cert;
17
18 /**
19  * Certificate Parsing Exception. This is thrown whenever
20  * invalid DER encoded certificate is parsed or unsupported DER features
21  * are found in the Certificate.
22  *
23  * <p><em>Note: The classes in the package <code>javax.security.cert</code>
24  * exist for compatibility with earlier versions of the
25  * Java Secure Sockets Extension (JSSE). New applications should instead
26  * use the standard J2SE certificate classes located in
27  * <code>java.security.cert</code>.</em></p>
28  *
29  * @since 1.4
30  * @author Hemma Prafullchandra
31  * @version 1.7
32  */

33 public class CertificateParsingException extends CertificateException
34 {
35
36     /**
37      * Constructs a CertificateParsingException with no detail message. A
38      * detail message is a String that describes this particular
39      * exception.
40      */

41     public CertificateParsingException() { }
42
43     /**
44      * Constructs a CertificateParsingException with the specified detail
45      * message. A detail message is a String that describes this
46      * particular exception.
47      *
48      * @param message the detail message.
49      */

50     public CertificateParsingException(String message) { }
51 }
52
Popular Tags