1 |
/* InvalidParameterSpecException.java --- Invalid ParameterSpec Exception |
/* InvalidParameterSpecException.java --- invalid ParameterSpec Exception |
2 |
Copyright (C) 1999 Free Software Foundation, Inc. |
Copyright (C) 1999, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
7 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
8 |
the Free Software Foundation; either version 2, or (at your option) |
the Free Software Foundation; either version 2, or (at your option) |
9 |
any later version. |
any later version. |
10 |
|
|
11 |
GNU Classpath is distributed in the hope that it will be useful, but |
GNU Classpath is distributed in the hope that it will be useful, but |
12 |
WITHOUT ANY WARRANTY; without even the implied warranty of |
WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
37 |
|
|
38 |
|
|
39 |
package java.security.spec; |
package java.security.spec; |
40 |
|
|
41 |
import java.security.GeneralSecurityException; |
import java.security.GeneralSecurityException; |
42 |
|
|
43 |
/** |
/** |
44 |
Exception for an invalid algorithm specification. |
* Exception for an invalid algorithm specification. |
45 |
|
* |
46 |
@since JDK 1.2 |
* @author Mark Benvenuto |
47 |
|
* @see AlogorithmParameters |
48 |
@author Mark Benvenuto |
* @see AlogorithmParameterSpec |
49 |
|
* @see DSAParameterSpec |
50 |
|
* @since 1.2 |
51 |
|
* @status updated to 1.4 |
52 |
*/ |
*/ |
53 |
public class InvalidParameterSpecException extends GeneralSecurityException |
public class InvalidParameterSpecException extends GeneralSecurityException |
54 |
{ |
{ |
55 |
|
/** |
56 |
|
* Compatible with JDK 1.2+. |
57 |
|
*/ |
58 |
|
private static final long serialVersionUID = -970468769593399342L; |
59 |
|
|
60 |
/** |
/** |
61 |
Constructs an InvalidParameterSpecException without a message string. |
* Constructs an InvalidParameterSpecException without a message string. |
62 |
*/ |
*/ |
63 |
public InvalidParameterSpecException() |
public InvalidParameterSpecException() |
64 |
{ |
{ |
|
super(); |
|
65 |
} |
} |
66 |
|
|
67 |
/** |
/** |
68 |
Constructs an InvalidParameterSpecException with a message string. |
* Constructs an InvalidParameterSpecException with a message string. |
69 |
|
* |
70 |
@param msg A message to display with exception |
* @param msg a message to display with exception |
71 |
*/ |
*/ |
72 |
public InvalidParameterSpecException(String msg) |
public InvalidParameterSpecException(String msg) |
73 |
{ |
{ |
74 |
super( msg ); |
super(msg); |
75 |
} |
} |
|
|
|
76 |
} |
} |