home *** CD-ROM | disk | FTP | other *** search
/ Java 1.2 How-To / JavaHowTo.iso / 3rdParty / jbuilder / unsupported / JDK1.2beta3 / SOURCE / SRC.ZIP / java / security / cert / CertificateParsingException.java < prev    next >
Encoding:
Java Source  |  1998-03-20  |  1.3 KB  |  47 lines

  1. /*
  2.  * @(#)CertificateParsingException.java    1.4 98/03/18
  3.  *
  4.  * Copyright 1997 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  *
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14.  
  15. package java.security.cert;
  16.  
  17. /**
  18.  * Certificate Parsing Exception. This is thrown whenever an
  19.  * invalid DER-encoded certificate is parsed or unsupported DER features
  20.  * are found in the Certificate.
  21.  *
  22.  * @author Hemma Prafullchandra
  23.  * 1.4
  24.  */
  25. public class CertificateParsingException extends CertificateException {
  26.  
  27.     /**
  28.      * Constructs a CertificateParsingException with no detail message. A
  29.      * detail message is a String that describes this particular
  30.      * exception.
  31.      */
  32.     public CertificateParsingException() {
  33.         super();
  34.     }
  35.  
  36.     /**
  37.      * Constructs a CertificateParsingException with the specified detail
  38.      * message. A detail message is a String that describes this
  39.      * particular exception.
  40.      *   
  41.      * @param message the detail message.
  42.      */
  43.     public CertificateParsingException(String message) {
  44.         super(message);
  45.     }
  46. }
  47.