1. /*
  2. * @(#)InvalidKeyException.java 1.11 00/02/02
  3. *
  4. * Copyright 1996-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;
  11. /**
  12. * This is the exception for invalid Keys (invalid encoding, wrong
  13. * length, uninitialized, etc).
  14. *
  15. * @version 1.11, 02/02/00
  16. * @author Benjamin Renaud
  17. */
  18. public class InvalidKeyException extends KeyException {
  19. /**
  20. * Constructs an InvalidKeyException with no detail message. A
  21. * detail message is a String that describes this particular
  22. * exception.
  23. */
  24. public InvalidKeyException() {
  25. super();
  26. }
  27. /**
  28. * Constructs an InvalidKeyException with the specified detail
  29. * message. A detail message is a String that describes this
  30. * particular exception.
  31. *
  32. * @param msg the detail message.
  33. */
  34. public InvalidKeyException(String msg) {
  35. super(msg);
  36. }
  37. }