1. /*
  2. * @(#)KeyException.java 1.14 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 basic key exception.
  13. *
  14. * @see Key
  15. * @see InvalidKeyException
  16. * @see KeyManagementException
  17. *
  18. * @version 1.14 00/02/02
  19. * @author Benjamin Renaud
  20. */
  21. public class KeyException extends GeneralSecurityException {
  22. /**
  23. * Constructs a KeyException with no detail message. A detail
  24. * message is a String that describes this particular exception.
  25. */
  26. public KeyException() {
  27. super();
  28. }
  29. /**
  30. * Constructs a KeyException with the specified detail message.
  31. * A detail message is a String that describes this particular
  32. * exception.
  33. *
  34. * @param msg the detail message.
  35. */
  36. public KeyException(String msg) {
  37. super(msg);
  38. }
  39. }