1. /*
  2. * @(#)OpenDataException.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. import javax.management.JMException;
  14. /**
  15. * This checked exception is thrown when an <i>open type</i>, an <i>open data</i> or an <i>open MBean metadata info</i> instance
  16. * could not be constructed because one or more validity constraints were not met.
  17. *
  18. * @version 3.17 03/12/19
  19. * @author Sun Microsystems, Inc.
  20. *
  21. * @since 1.5
  22. * @since.unbundled JMX 1.1
  23. */
  24. public class OpenDataException
  25. extends JMException
  26. implements Serializable {
  27. private static final long serialVersionUID = 8346311255433349870L;
  28. /**
  29. * An OpenDataException with no detail message.
  30. */
  31. public OpenDataException() {
  32. super();
  33. }
  34. /**
  35. * An OpenDataException with a detail message.
  36. *
  37. * @param msg the detail message.
  38. */
  39. public OpenDataException(String msg) {
  40. super(msg);
  41. }
  42. }