1. /*
  2. * @(#)KeyAlreadyExistsException.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 the index of a row to be added to a <i>tabular data</i> instance
  15. * is already used to refer to another row in this <i>tabular data</i> instance.
  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 KeyAlreadyExistsException
  24. extends IllegalArgumentException
  25. implements Serializable {
  26. private static final long serialVersionUID = 1845183636745282866L;
  27. /**
  28. * A KeyAlreadyExistsException with no detail message.
  29. */
  30. public KeyAlreadyExistsException() {
  31. super();
  32. }
  33. /**
  34. * A KeyAlreadyExistsException with a detail message.
  35. *
  36. * @param msg the detail message.
  37. */
  38. public KeyAlreadyExistsException(String msg) {
  39. super(msg);
  40. }
  41. }