1. /*
  2. * @(#)InvalidOpenTypeException.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 <i>open type</i> of an <i>open data</i> value
  15. * is not the one expected.
  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 InvalidOpenTypeException
  24. extends IllegalArgumentException
  25. implements Serializable {
  26. private static final long serialVersionUID = -2837312755412327534L;
  27. /** An InvalidOpenTypeException with no detail message. */
  28. public InvalidOpenTypeException() {
  29. super();
  30. }
  31. /**
  32. * An InvalidOpenTypeException with a detail message.
  33. *
  34. * @param msg the detail message.
  35. */
  36. public InvalidOpenTypeException(String msg) {
  37. super(msg);
  38. }
  39. }