public SynchronizationRegistryUOWScope getCurrentTransactionalUOW ( boolean checkMarkedRollback ) throws CSITransactionRolledbackException { UOWCoordinator coord = uowCurrent . getUOWCoord ( ) ; // 131880-6 if ( coord != null ) { if ( checkMarkedRollback && coord . getRollbackOnly ( ) ) // 131880-6 d173218.1 { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEventEnabled ( ) ) { Tr . event ( tc , "Attempting to do work on a tx " + "that has been marked rollback." ) ; } throw new CSITransactionRolledbackException ( "Transaction rolled back" ) ; } } // if coord != null return ( SynchronizationRegistryUOWScope ) coord ; // 131880-6 }
Added checkMarkedRollback parameter . d166414