1. /*
  2. * @(#)InvalidParameterSpecException.java 1.13 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.spec;
  8. import java.security.GeneralSecurityException;
  9. /**
  10. * This is the exception for invalid parameter specifications.
  11. *
  12. * @author Jan Luehe
  13. *
  14. * @version 1.13, 01/23/03
  15. *
  16. * @see java.security.AlgorithmParameters
  17. * @see AlgorithmParameterSpec
  18. * @see DSAParameterSpec
  19. *
  20. * @since 1.2
  21. */
  22. public class InvalidParameterSpecException extends GeneralSecurityException {
  23. /**
  24. * Constructs an InvalidParameterSpecException with no detail message. A
  25. * detail message is a String that describes this particular
  26. * exception.
  27. */
  28. public InvalidParameterSpecException() {
  29. super();
  30. }
  31. /**
  32. * Constructs an InvalidParameterSpecException with the specified detail
  33. * message. A detail message is a String that describes this
  34. * particular exception.
  35. *
  36. * @param msg the detail message.
  37. */
  38. public InvalidParameterSpecException(String msg) {
  39. super(msg);
  40. }
  41. }