container/profiles/src/main/java/org/mobicents/slee/container/management/jmx/ProfileProvisioningMBeanImpl.java
public Collection<ProfileID> getProfiles(String profileTableName) throws NullPointerException, UnrecognizedProfileTableNameException, ManagementException {
		
		if (logger.isDebugEnabled()) {
			logger.debug("getProfiles( profileTableName = "
					+ profileTableName + " )");
		}
		
		boolean b = sleeTransactionManagement.requireTransaction();
		try {		
			return sleeProfileManagement.getProfileTable(profileTableName).getProfiles();			
		} catch (NullPointerException e) {
			throw e;
		} catch (UnrecognizedProfileTableNameException e) {
			throw e;		
		} catch (Throwable e) {
			throw new ManagementException(e.getMessage(), e);		 
		} finally {
			try {
				sleeTransactionManagement.requireTransactionEnd(b,false);	
			} catch (Throwable e) {
				throw new ManagementException(e.getMessage(),e);
			}
		}		
	}
public Collection<ProfileID> getProfiles(String profileTableName) throws NullPointerException, UnrecognizedProfileTableNameException, ManagementException {
		
		if (logger.isDebugEnabled()) {
			logger.debug("getProfiles( profileTableName = "
					+ profileTableName + " )");
		}
		
		boolean b = sleeTransactionManagement.requireTransaction();
		try {		
			return sleeProfileManagement.getProfileTable(profileTableName).getProfiles();			
		} catch (NullPointerException e) {
			throw e;
		} catch (UnrecognizedProfileTableNameException e) {
			throw e;		
		} catch (Throwable e) {
			throw new ManagementException(e.getMessage(), e);		 
		} finally {
			try {
				sleeTransactionManagement.requireTransactionEnd(b,false);	
			} catch (Throwable e) {
				throw new ManagementException(e.getMessage(),e);
			}
		}		
	}
/*
(non-Javadoc)
@see javax.slee.management.ProfileProvisioningMBean#getProfiles(java.lang.String)