1. /*
  2. * @(#)KeyException.java 1.16 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.security;
  8. /**
  9. * This is the basic key exception.
  10. *
  11. * @see Key
  12. * @see InvalidKeyException
  13. * @see KeyManagementException
  14. *
  15. * @version 1.16 03/01/23
  16. * @author Benjamin Renaud
  17. */
  18. public class KeyException extends GeneralSecurityException {
  19. /**
  20. * Constructs a KeyException with no detail message. A detail
  21. * message is a String that describes this particular exception.
  22. */
  23. public KeyException() {
  24. super();
  25. }
  26. /**
  27. * Constructs a KeyException with the specified detail message.
  28. * A detail message is a String that describes this particular
  29. * exception.
  30. *
  31. * @param msg the detail message.
  32. */
  33. public KeyException(String msg) {
  34. super(msg);
  35. }
  36. }