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