1. /*
  2. * @(#)UnrecoverableKeyException.java 1.5 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.security;
  8. /**
  9. * This exception is thrown if a key in the keystore cannot be recovered.
  10. *
  11. * @version 1.5, 11/29/01
  12. *
  13. * @since 1.2
  14. */
  15. public class UnrecoverableKeyException extends GeneralSecurityException {
  16. /**
  17. * Constructs an UnrecoverableKeyException with no detail message.
  18. */
  19. public UnrecoverableKeyException() {
  20. super();
  21. }
  22. /**
  23. * Constructs an UnrecoverableKeyException with the specified detail
  24. * message, which provides more information about why this exception
  25. * has been thrown.
  26. *
  27. * @param msg the detail message.
  28. */
  29. public UnrecoverableKeyException(String msg) {
  30. super(msg);
  31. }
  32. }