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