1. /*
  2. * @(#)InvalidParameterSpecException.java 1.15 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.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.15, 12/19/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. private static final long serialVersionUID = -970468769593399342L;
  24. /**
  25. * Constructs an InvalidParameterSpecException with no detail message. A
  26. * detail message is a String that describes this particular
  27. * exception.
  28. */
  29. public InvalidParameterSpecException() {
  30. super();
  31. }
  32. /**
  33. * Constructs an InvalidParameterSpecException with the specified detail
  34. * message. A detail message is a String that describes this
  35. * particular exception.
  36. *
  37. * @param msg the detail message.
  38. */
  39. public InvalidParameterSpecException(String msg) {
  40. super(msg);
  41. }
  42. }