code: public synchronized void unregisterThrow(ObjectName objName) throws JMException {
  		if (mbeanServer == null) {
  			throw new JMException("JmxServer has not be started");
  		}
  		mbeanServer.unregisterMBean(objName);
  		registeredCount--;
  	}
docs: Un-register the object name from JMX but this throws exceptions. Use the {@link #unregister(Object)} if you want
  it to be silent.