1. /*
  2. * @(#)InvalidParameterException.java 1.14 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 exception is thrown when an invalid parameter is passed
  10. * to a method.
  11. *
  12. * @author Benjamin Renaud
  13. * @version 1.14, 01/11/29
  14. */
  15. public class InvalidParameterException extends IllegalArgumentException {
  16. /**
  17. * Constructs an InvalidParameterException with no detail message.
  18. * A detail message is a String that describes this particular
  19. * exception.
  20. */
  21. public InvalidParameterException() {
  22. super();
  23. }
  24. /**
  25. * Constructs an InvalidParameterException with the specified
  26. * detail message. A detail message is a String that describes
  27. * this particular exception.
  28. *
  29. * @param msg the detail message.
  30. */
  31. public InvalidParameterException(String msg) {
  32. super(msg);
  33. }
  34. }