1. /*
  2. * @(#)InvalidKeySpecException.java 1.11 00/02/02
  3. *
  4. * Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.security.spec;
  11. import java.security.GeneralSecurityException;
  12. /**
  13. * This is the exception for invalid key specifications.
  14. *
  15. * @author Jan Luehe
  16. *
  17. * @version 1.11, 02/02/00
  18. *
  19. * @see KeySpec
  20. *
  21. * @since 1.2
  22. */
  23. public class InvalidKeySpecException extends GeneralSecurityException {
  24. /**
  25. * Constructs an InvalidKeySpecException with no detail message. A
  26. * detail message is a String that describes this particular
  27. * exception.
  28. */
  29. public InvalidKeySpecException() {
  30. super();
  31. }
  32. /**
  33. * Constructs an InvalidKeySpecException with the specified detail
  34. * message. A detail message is a String that describes this
  35. * particular exception.
  36. *
  37. * @param msg the detail message.
  38. */
  39. public InvalidKeySpecException(String msg) {
  40. super(msg);
  41. }
  42. }