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