< prev index next >

src/java.management/share/classes/javax/management/monitor/Monitor.java

Print this page

        

@@ -385,11 +385,11 @@
      * be registered.
      * @param name The object name of the monitor MBean.
      *
      * @return The name of the monitor MBean registered.
      *
-     * @exception Exception
+     * @exception Exception if something goes wrong
      */
     public ObjectName preRegister(MBeanServer server, ObjectName name)
         throws Exception {
 
         MONITOR_LOGGER.logp(Level.FINER, Monitor.class.getName(),

@@ -414,11 +414,11 @@
      * Allows the monitor MBean to perform any operations it needs
      * before being unregistered by the MBean server.
      * <P>
      * Stops the monitor.
      *
-     * @exception Exception
+     * @exception Exception if something goes wrong
      */
     public void preDeregister() throws Exception {
 
         MONITOR_LOGGER.logp(Level.FINER, Monitor.class.getName(),
                 "preDeregister()", "stop the monitor");
< prev index next >