public void addNpe(String className, NpeData data) {
		String name = className;
		if(data == null) {
			data = new NpeData(this);
		}
		// Register the MBean
		ObjectName oName;
		try {
			oName = new ObjectName("org.dkhenry.minejmx:type=NpeData,name=" + name);
			if( mbs.isRegistered(oName) ) {
				mbs.unregisterMBean(oName) ;
			}
			mbs.registerMBean(data, oName) ;
		} catch (InstanceAlreadyExistsException e) {
			//e.printStackTrace();
		} catch (MBeanRegistrationException e) {
			//e.printStackTrace();
		} catch (NotCompliantMBeanException e) {
			//e.printStackTrace();
		} catch (MalformedObjectNameException e) {
			//e.printStackTrace();
		} catch (NullPointerException e) {
			//e.printStackTrace();
		} catch (InstanceNotFoundException e) {
			//e.printStackTrace();
		}

		this.npeData.put(name, data) ;
	}