1. /*
  2. * @(#)MonitorSettingException.java 4.16 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.monitor;
  8. /**
  9. * Exception thrown by the monitor when a monitor setting becomes invalid while the monitor is running.
  10. * <P>
  11. * As the monitor attributes may change at runtime, a check is performed before each observation.
  12. * If a monitor attribute has become invalid, a monitor setting exception is thrown.
  13. *
  14. * @version 4.16 12/19/03
  15. * @author Sun Microsystems, Inc
  16. *
  17. * @since 1.5
  18. */
  19. public class MonitorSettingException extends javax.management.JMRuntimeException {
  20. /* Serial version */
  21. private static final long serialVersionUID = -8807913418190202007L;
  22. /**
  23. * Default constructor.
  24. */
  25. public MonitorSettingException() {
  26. super();
  27. }
  28. /**
  29. * Constructor that allows an error message to be specified.
  30. *
  31. * @param message The specific error message.
  32. */
  33. public MonitorSettingException(String message) {
  34. super(message);
  35. }
  36. }