1. /*
  2. * @(#)InvalidAlgorithmParameterException.java 1.6 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.security;
  8. /**
  9. * This is the exception for invalid or inappropriate algorithm parameters.
  10. *
  11. * @author Jan Luehe
  12. *
  13. * @version 1.6, 11/29/01
  14. *
  15. * @see AlgorithmParameters
  16. * @see java.security.spec.AlgorithmParameterSpec
  17. *
  18. * @since JDK1.2
  19. */
  20. public class InvalidAlgorithmParameterException
  21. extends GeneralSecurityException {
  22. /**
  23. * Constructs an InvalidAlgorithmParameterException with no detail
  24. * message.
  25. * A detail message is a String that describes this particular
  26. * exception.
  27. */
  28. public InvalidAlgorithmParameterException() {
  29. super();
  30. }
  31. /**
  32. * Constructs an InvalidAlgorithmParameterException with the specified
  33. * detail message.
  34. * A detail message is a String that describes this
  35. * particular exception.
  36. *
  37. * @param msg the detail message.
  38. */
  39. public InvalidAlgorithmParameterException(String msg) {
  40. super(msg);
  41. }
  42. }