public ProfileTableActivity getProfileTableActivity ( String profileTableName ) throws NullPointerException , UnrecognizedProfileTableNameException , TransactionRolledbackLocalException , FacilityException { if ( logger . isTraceEnabled ( ) ) { logger . trace ( "getProfileTableActivity( profileTableName = " + profileTableName + " )" ) ; } final SleeTransactionManager sleeTransactionManager = profileManagement . getSleeContainer ( ) . getTransactionManager ( ) ; boolean terminateTx = sleeTransactionManager . requireTransaction ( ) ; try { return profileManagement . getProfileTable ( profileTableName ) . getActivity ( ) ; } catch ( NullPointerException e ) { throw e ; } catch ( UnrecognizedProfileTableNameException e ) { throw e ; } catch ( Throwable e ) { throw new FacilityException ( "Failed to obtain profile table." , e ) ; } finally { // never rollback try { sleeTransactionManager . requireTransactionEnd ( terminateTx , false ) ; } catch ( Throwable e ) { throw new FacilityException ( e . getMessage ( ) , e ) ; } } }
Get a ProfileTableActivity object for a profile table .