1. /*
  2. * @(#)UnrecoverableKeyException.java 1.6 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;
  11. /**
  12. * This exception is thrown if a key in the keystore cannot be recovered.
  13. *
  14. * @version 1.6, 02/02/00
  15. *
  16. * @since 1.2
  17. */
  18. public class UnrecoverableKeyException extends GeneralSecurityException {
  19. /**
  20. * Constructs an UnrecoverableKeyException with no detail message.
  21. */
  22. public UnrecoverableKeyException() {
  23. super();
  24. }
  25. /**
  26. * Constructs an UnrecoverableKeyException with the specified detail
  27. * message, which provides more information about why this exception
  28. * has been thrown.
  29. *
  30. * @param msg the detail message.
  31. */
  32. public UnrecoverableKeyException(String msg) {
  33. super(msg);
  34. }
  35. }