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