container/profiles/src/main/java/org/mobicents/slee/container/management/jmx/ProfileProvisioningMBeanImpl.java
public void renameProfileTable(java.lang.String oldProfileTableName, java.lang.String newProfileTableName) throws java.lang.NullPointerException, UnrecognizedProfileTableNameException,
			InvalidArgumentException, ProfileTableAlreadyExistsException, ManagementException {

		if (logger.isDebugEnabled()) {
			logger.debug("renameProfileTable( oldProfileTableName = "
					+ oldProfileTableName + " , newProfileTableName = "
					+ newProfileTableName + " )");
		}
		
		if (oldProfileTableName == null)
			throw new NullPointerException("Argument[OldProfileTableName] must nto be null");
		if (newProfileTableName == null)
			throw new NullPointerException("Argument[NewProfileTableName] must nto be null");

		ProfileTableImpl.validateProfileTableName(newProfileTableName);

		boolean b = this.sleeTransactionManagement.requireTransaction();
		boolean rb = true;
		try {
			this.sleeProfileManagement.renameProfileTable(oldProfileTableName,newProfileTableName);
			rb = false;
		} catch (UnrecognizedProfileTableNameException e) {
			throw e;
		} catch (ProfileTableAlreadyExistsException e) {
			throw e;
		} catch (Throwable e) {
			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 renameProfileTable(java.lang.String oldProfileTableName, java.lang.String newProfileTableName) throws java.lang.NullPointerException, UnrecognizedProfileTableNameException,
			InvalidArgumentException, ProfileTableAlreadyExistsException, ManagementException {

		if (logger.isDebugEnabled()) {
			logger.debug("renameProfileTable( oldProfileTableName = "
					+ oldProfileTableName + " , newProfileTableName = "
					+ newProfileTableName + " )");
		}
		
		if (oldProfileTableName == null)
			throw new NullPointerException("Argument[OldProfileTableName] must nto be null");
		if (newProfileTableName == null)
			throw new NullPointerException("Argument[NewProfileTableName] must nto be null");

		ProfileTableImpl.validateProfileTableName(newProfileTableName);

		boolean b = this.sleeTransactionManagement.requireTransaction();
		boolean rb = true;
		try {
			this.sleeProfileManagement.renameProfileTable(oldProfileTableName,newProfileTableName);
			rb = false;
		} catch (UnrecognizedProfileTableNameException e) {
			throw e;
		} catch (ProfileTableAlreadyExistsException e) {
			throw e;
		} catch (Throwable e) {
			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 renameProfileTable ( java . lang . String oldProfileTableName , java . lang . String newProfileTableName ) throws java . lang . NullPointerException , UnrecognizedProfileTableNameException , InvalidArgumentException , ProfileTableAlreadyExistsException , ManagementException { if ( logger . isDebugEnabled ( ) ) { logger . debug ( "renameProfileTable( oldProfileTableName = " + oldProfileTableName + " , newProfileTableName = " + newProfileTableName + " )" ) ; } if ( oldProfileTableName == null ) throw new NullPointerException ( "Argument[OldProfileTableName] must nto be null" ) ; if ( newProfileTableName == null ) throw new NullPointerException ( "Argument[NewProfileTableName] must nto be null" ) ; ProfileTableImpl . validateProfileTableName ( newProfileTableName ) ; boolean b = this . sleeTransactionManagement . requireTransaction ( ) ; boolean rb = true ; try { this . sleeProfileManagement . renameProfileTable ( oldProfileTableName , newProfileTableName ) ; rb = false ; } catch ( UnrecognizedProfileTableNameException e ) { throw e ; } catch ( ProfileTableAlreadyExistsException e ) { throw e ; } catch ( Throwable e ) { 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#renameProfileTable(java.lang.String, java.lang.String)
/ * ( non - Javadoc )