summaryrefslogtreecommitdiff
path: root/java/security/spec/InvalidKeySpecException.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/security/spec/InvalidKeySpecException.java')
-rw-r--r--java/security/spec/InvalidKeySpecException.java50
1 files changed, 50 insertions, 0 deletions
diff --git a/java/security/spec/InvalidKeySpecException.java b/java/security/spec/InvalidKeySpecException.java
new file mode 100644
index 000000000..1a9298048
--- /dev/null
+++ b/java/security/spec/InvalidKeySpecException.java
@@ -0,0 +1,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 );
+}
+
+}