1. /*
  2. * @(#)InvalidAlgorithmParameterException.java 1.9 00/02/02
  3. *
  4. * Copyright 1997-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 is the exception for invalid or inappropriate algorithm parameters.
  13. *
  14. * @author Jan Luehe
  15. *
  16. * @version 1.9, 02/02/00
  17. *
  18. * @see AlgorithmParameters
  19. * @see java.security.spec.AlgorithmParameterSpec
  20. *
  21. * @since 1.2
  22. */
  23. public class InvalidAlgorithmParameterException
  24. extends GeneralSecurityException {
  25. /**
  26. * Constructs an InvalidAlgorithmParameterException with no detail
  27. * message.
  28. * A detail message is a String that describes this particular
  29. * exception.
  30. */
  31. public InvalidAlgorithmParameterException() {
  32. super();
  33. }
  34. /**
  35. * Constructs an InvalidAlgorithmParameterException with the specified
  36. * detail message.
  37. * A detail message is a String that describes this
  38. * particular exception.
  39. *
  40. * @param msg the detail message.
  41. */
  42. public InvalidAlgorithmParameterException(String msg) {
  43. super(msg);
  44. }
  45. }