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

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