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 / CertificateException.java < prev    next >
Encoding:
Java Source  |  1998-03-20  |  1.3 KB  |  47 lines

  1. /*
  2.  * @(#)CertificateException.java    1.24 98/03/18
  3.  *
  4.  * Copyright 1996, 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. import java.security.GeneralSecurityException;
  18.  
  19. /**
  20.  * This exception indicates one of a variety of certificate problems.
  21.  *
  22.  * @author Hemma Prafullchandra
  23.  * @version 1.24
  24.  * @see Certificate
  25.  */
  26. public class CertificateException extends GeneralSecurityException {
  27.  
  28.     /*
  29.      * Constructs a certificate exception with no detail message. A detail
  30.      * message is a String that describes this particular exception. 
  31.      */
  32.     public CertificateException() {
  33.         super();
  34.     }
  35.  
  36.     /**
  37.      * Constructs a certificate exception with the given detail
  38.      * message. A detail message is a String that describes this
  39.      * particular exception.
  40.      *
  41.      * @param msg the detail message.  
  42.      */
  43.     public CertificateException(String msg) {
  44.         super(msg);
  45.     }
  46. }
  47.