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