KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > security > spec > InvalidParameterSpecException


1 /*
2  * @(#)InvalidParameterSpecException.java 1.15 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package java.security.spec;
9
10 import java.security.GeneralSecurityException JavaDoc;
11
12 /**
13  * This is the exception for invalid parameter specifications.
14  *
15  * @author Jan Luehe
16  *
17  * @version 1.15, 12/19/03
18  *
19  * @see java.security.AlgorithmParameters
20  * @see AlgorithmParameterSpec
21  * @see DSAParameterSpec
22  *
23  * @since 1.2
24  */

25
26 public class InvalidParameterSpecException extends GeneralSecurityException JavaDoc {
27
28     private static final long serialVersionUID = -970468769593399342L;
29
30     /**
31      * Constructs an InvalidParameterSpecException with no detail message. A
32      * detail message is a String that describes this particular
33      * exception.
34      */

35     public InvalidParameterSpecException() {
36     super();
37     }
38
39     /**
40      * Constructs an InvalidParameterSpecException with the specified detail
41      * message. A detail message is a String that describes this
42      * particular exception.
43      *
44      * @param msg the detail message.
45      */

46     public InvalidParameterSpecException(String JavaDoc msg) {
47     super(msg);
48     }
49 }
50
Popular Tags