1. /*
  2. * @(#)NoSuchAlgorithmException.java 1.20 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 exception is thrown when a particular cryptographic algorithm is
  13. * requested but is not available in the environment.
  14. *
  15. * @version 1.20, 00/02/02
  16. * @author Benjamin Renaud
  17. */
  18. public class NoSuchAlgorithmException extends GeneralSecurityException {
  19. /**
  20. * Constructs a NoSuchAlgorithmException with no detail
  21. * message. A detail message is a String that describes this
  22. * particular exception.
  23. */
  24. public NoSuchAlgorithmException() {
  25. super();
  26. }
  27. /**
  28. * Constructs a NoSuchAlgorithmException with the specified
  29. * detail message. A detail message is a String that describes
  30. * this particular exception, which may, for example, specify which
  31. * algorithm is not available.
  32. *
  33. * @param msg the detail message.
  34. */
  35. public NoSuchAlgorithmException(String msg) {
  36. super(msg);
  37. }
  38. }