summaryrefslogtreecommitdiff
path: root/java/security/spec/InvalidKeySpecException.java
blob: 1a929804882f263fc6b5d8edaea898fddfe8b50a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* InvalidKeySpecException.java --- Invalid KeySpec Exception
   
  Copyright (c) 1999 by Free Software Foundation, Inc.
  Written by Mark Benvenuto <ivymccough@worldnet.att.net>

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU Library General Public License as published 
  by the Free Software Foundation, version 2. (see COPYING.LIB)

  This program is distributed in the hope that it will be useful, but
  WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software Foundation
  Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA. */

package java.security.spec;
import java.security.GeneralSecurityException;

/**
	Exception for an invalid key specification.

	@since JDK 1.2

	@author Mark Benvenuto
*/
public class InvalidKeySpecException extends GeneralSecurityException 
{

/**
	Constructs an InvalidKeySpecException without a message string.
*/
public InvalidKeySpecException() 
{
	super();
}

/**
	Constructs an InvalidKeySpecException with a message string.

	@param msg A message to display with exception
*/
public InvalidKeySpecException(String msg)
{
	super( msg );
}

}