1. /*
  2. * @(#)InvalidKeyException.java 3.17 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 javax.management.openmbean;
  8. // java import
  9. //
  10. import java.io.Serializable;
  11. // jmx import
  12. //
  13. /**
  14. * This runtime exception is thrown to indicate that a method parameter which was expected to be
  15. * an item name of a <i>composite data</i> or a row index of a <i>tabular data</i> is not valid.
  16. *
  17. * @version 3.17 03/12/19
  18. * @author Sun Microsystems, Inc.
  19. *
  20. * @since 1.5
  21. * @since.unbundled JMX 1.1
  22. */
  23. public class InvalidKeyException
  24. extends IllegalArgumentException
  25. implements Serializable {
  26. private static final long serialVersionUID = 4224269443946322062L;
  27. /**
  28. * An InvalidKeyException with no detail message.
  29. */
  30. public InvalidKeyException() {
  31. super();
  32. }
  33. /**
  34. * An InvalidKeyException with a detail message.
  35. *
  36. * @param msg the detail message.
  37. */
  38. public InvalidKeyException(String msg) {
  39. super(msg);
  40. }
  41. }