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