- /*
- * @(#)InvalidKeySpecException.java 1.8 01/11/29
- *
- * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
- * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
- */
-
- package java.security.spec;
-
- import java.security.GeneralSecurityException;
-
- /**
- * This is the exception for invalid key specifications.
- *
- * @author Jan Luehe
- *
- * @version 1.8, 11/29/01
- *
- * @see KeySpec
- *
- * @since JDK1.2
- */
-
- public class InvalidKeySpecException extends GeneralSecurityException {
-
- /**
- * Constructs an InvalidKeySpecException with no detail message. A
- * detail message is a String that describes this particular
- * exception.
- */
- public InvalidKeySpecException() {
- super();
- }
-
- /**
- * Constructs an InvalidKeySpecException with the specified detail
- * message. A detail message is a String that describes this
- * particular exception.
- *
- * @param msg the detail message.
- */
- public InvalidKeySpecException(String msg) {
- super(msg);
- }
- }