container/profiles/src/main/java/org/mobicents/slee/container/management/jmx/ProfileProvisioningMBeanImpl.java
public void removeProfileTable(String profileTableName) throws NullPointerException, UnrecognizedProfileTableNameException, ManagementException {

		if (logger.isDebugEnabled()) {
			logger.debug("removeProfileTable( profileTableName = "
					+ profileTableName + " )");
		}
		
		if (profileTableName == null)
			throw new NullPointerException("profileTableName is null");

		boolean b = this.sleeTransactionManagement.requireTransaction();
		boolean rb = false;
		try {
			this.sleeProfileManagement.removeProfileTable(profileTableName);			
		} catch (UnrecognizedProfileTableNameException e) {
			rb = true;
			throw e;
		} catch (Throwable e) {
			rb = true;
			throw new ManagementException("Failed to remove due to system level failure.", e);
		} finally {
			try {
				sleeTransactionManagement.requireTransactionEnd(b,rb);	
			} catch (Throwable e) {
				throw new ManagementException(e.getMessage(),e);
			}			
		}

	}
public void removeProfileTable(String profileTableName) throws NullPointerException, UnrecognizedProfileTableNameException, ManagementException {

		if (logger.isDebugEnabled()) {
			logger.debug("removeProfileTable( profileTableName = "
					+ profileTableName + " )");
		}
		
		if (profileTableName == null)
			throw new NullPointerException("profileTableName is null");

		boolean b = this.sleeTransactionManagement.requireTransaction();
		boolean rb = false;
		try {
			this.sleeProfileManagement.removeProfileTable(profileTableName);			
		} catch (UnrecognizedProfileTableNameException e) {
			rb = true;
			throw e;
		} catch (Throwable e) {
			rb = true;
			throw new ManagementException("Failed to remove due to system level failure.", e);
		} finally {
			try {
				sleeTransactionManagement.requireTransactionEnd(b,rb);	
			} catch (Throwable e) {
				throw new ManagementException(e.getMessage(),e);
			}			
		}

	}
/*
(non-Javadoc)
@see javax.slee.management.ProfileProvisioningMBean#removeProfileTable(java.lang.String)