1. /*
  2. * @(#)UnrecoverableKeyException.java 1.10 03/12/19
  3. *
  4. * Copyright 2004 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.10, 12/19/03
  12. *
  13. * @since 1.2
  14. */
  15. public class UnrecoverableKeyException extends GeneralSecurityException {
  16. private static final long serialVersionUID = 7275063078190151277L;
  17. /**
  18. * Constructs an UnrecoverableKeyException with no detail message.
  19. */
  20. public UnrecoverableKeyException() {
  21. super();
  22. }
  23. /**
  24. * Constructs an UnrecoverableKeyException with the specified detail
  25. * message, which provides more information about why this exception
  26. * has been thrown.
  27. *
  28. * @param msg the detail message.
  29. */
  30. public UnrecoverableKeyException(String msg) {
  31. super(msg);
  32. }
  33. }