1 |
/* InvalidAlgorithmParameterException.java |
/* InvalidAlgorithmParameterException.java -- an invalid parameter to a |
2 |
Copyright (C) 2000 Free Software Foundation, Inc. |
security algorithm |
3 |
|
Copyright (C) 2000, 2002 Free Software Foundation, Inc. |
4 |
|
|
5 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
6 |
|
|
39 |
package java.security; |
package java.security; |
40 |
|
|
41 |
/** |
/** |
42 |
|
* Thrown for an invalid security algorithm parameter. |
43 |
|
* |
44 |
* @author Warren Levy <warrenl@cygnus.com> |
* @author Warren Levy <warrenl@cygnus.com> |
45 |
* @date February 2, 2000. |
* @since 1.2 |
46 |
|
* @status updated to 1.4 |
47 |
*/ |
*/ |
48 |
|
public class InvalidAlgorithmParameterException |
49 |
/** |
extends GeneralSecurityException |
|
* Written using on-line Java Platform 1.2 API Specification. |
|
|
* Status: Believed complete and correct. |
|
|
*/ |
|
|
|
|
|
// JDK1.2 |
|
|
public class InvalidAlgorithmParameterException extends GeneralSecurityException |
|
50 |
{ |
{ |
51 |
|
/** |
52 |
|
* Compatible with JDK 1.2+. |
53 |
|
*/ |
54 |
|
private static final long serialVersionUID = 2864672297499471472L; |
55 |
|
|
56 |
|
/** |
57 |
|
* Construct an exception with no message. |
58 |
|
*/ |
59 |
public InvalidAlgorithmParameterException() |
public InvalidAlgorithmParameterException() |
60 |
{ |
{ |
61 |
super(); |
super(); |
62 |
} |
} |
63 |
|
|
64 |
|
/** |
65 |
|
* Construct an exception with a message. |
66 |
|
* |
67 |
|
* @param msg the message |
68 |
|
*/ |
69 |
public InvalidAlgorithmParameterException(String msg) |
public InvalidAlgorithmParameterException(String msg) |
70 |
{ |
{ |
71 |
super(msg); |
super(msg); |