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

  1. /*
  2.  * @(#)InvalidParameterSpecException.java    1.6 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.spec;
  16.  
  17. import java.security.GeneralSecurityException;
  18.  
  19. /**
  20.  * This is the exception for invalid parameter specifications.
  21.  *
  22.  * @author Jan Luehe
  23.  *
  24.  * @version 1.6, 03/18/98
  25.  *
  26.  * @see java.security.AlgorithmParameters
  27.  * @see AlgorithmParameterSpec
  28.  * @see DSAParameterSpec
  29.  *
  30.  * @since JDK1.2
  31.  */
  32.  
  33. public class InvalidParameterSpecException extends GeneralSecurityException {
  34.  
  35.     /**
  36.      * Constructs an InvalidParameterSpecException with no detail message. A
  37.      * detail message is a String that describes this particular
  38.      * exception.
  39.      */
  40.     public InvalidParameterSpecException() {
  41.     super();
  42.     }
  43.  
  44.     /**
  45.      * Constructs an InvalidParameterSpecException with the specified detail
  46.      * message. A detail message is a String that describes this
  47.      * particular exception.  
  48.      *
  49.      * @param msg the detail message.  
  50.      */
  51.     public InvalidParameterSpecException(String msg) {
  52.     super(msg);
  53.     }
  54. }
  55.