container/transaction/src/main/java/org/mobicents/slee/runtime/transaction/SleeTransactionManagerImpl.java
public void mandateTransaction() throws TransactionRequiredLocalException {
		
		try {
			final Transaction tx = getTransaction();
			if (tx == null)
				throw new TransactionRequiredLocalException(
						"Transaction Mandatory");
			final int status = tx.getStatus();
			if (status != Status.STATUS_ACTIVE && status != Status.STATUS_MARKED_ROLLBACK) {
				throw new IllegalStateException(
						"There is no active tx, tx is in state: "
						+ status);
			}
		} catch (SystemException e) {
			throw new SLEEException(e.getMessage(),e);
		}
	}
public void mandateTransaction() throws TransactionRequiredLocalException {
		
		try {
			final Transaction tx = getTransaction();
			if (tx == null)
				throw new TransactionRequiredLocalException(
						"Transaction Mandatory");
			final int status = tx.getStatus();
			if (status != Status.STATUS_ACTIVE && status != Status.STATUS_MARKED_ROLLBACK) {
				throw new IllegalStateException(
						"There is no active tx, tx is in state: "
						+ status);
			}
		} catch (SystemException e) {
			throw new SLEEException(e.getMessage(),e);
		}
	}
public void mandateTransaction ( ) throws TransactionRequiredLocalException { try { final Transaction tx = getTransaction ( ) ; if ( tx == null ) throw new TransactionRequiredLocalException ( "Transaction Mandatory" ) ; final int status = tx . getStatus ( ) ; if ( status != Status . STATUS_ACTIVE && status != Status . STATUS_MARKED_ROLLBACK ) { throw new IllegalStateException ( "There is no active tx, tx is in state: " + status ) ; } } catch ( SystemException e ) { throw new SLEEException ( e . getMessage ( ) , e ) ; } }
/*
(non-Javadoc)
@see org.mobicents.slee.runtime.transaction.SleeTransactionManager#mandateTransaction()
/ * ( non - Javadoc )