container/timers/src/main/java/org/mobicents/slee/runtime/facilities/TimerFacilityImpl.java
public void cancelTimer(TimerID timerID) throws NullPointerException,
			TransactionRolledbackLocalException, FacilityException {
		
		if (logger.isDebugEnabled()) {
			logger.debug("cancelTimer: timerID = "+timerID);
		}
		
		if (timerID == null)
			throw new NullPointerException("Null TimerID");

		SleeTransactionManager txMgr = sleeContainer.getTransactionManager();

		boolean terminateTx = txMgr.requireTransaction();
		boolean doRollback = true;
		try {
			cancelTimer(timerID,true);
			doRollback = false;
		} finally {
			try {
				txMgr.requireTransactionEnd(terminateTx, doRollback);
			} catch (Throwable e) {
				throw new TransactionRolledbackLocalException(e.getMessage(),e);
			}
		}
	}
public void cancelTimer(TimerID timerID) throws NullPointerException,
			TransactionRolledbackLocalException, FacilityException {
		
		if (logger.isDebugEnabled()) {
			logger.debug("cancelTimer: timerID = "+timerID);
		}
		
		if (timerID == null)
			throw new NullPointerException("Null TimerID");

		SleeTransactionManager txMgr = sleeContainer.getTransactionManager();

		boolean terminateTx = txMgr.requireTransaction();
		boolean doRollback = true;
		try {
			cancelTimer(timerID,true);
			doRollback = false;
		} finally {
			try {
				txMgr.requireTransactionEnd(terminateTx, doRollback);
			} catch (Throwable e) {
				throw new TransactionRolledbackLocalException(e.getMessage(),e);
			}
		}
	}
public void cancelTimer ( TimerID timerID ) throws NullPointerException , TransactionRolledbackLocalException , FacilityException { if ( logger . isDebugEnabled ( ) ) { logger . debug ( "cancelTimer: timerID = " + timerID ) ; } if ( timerID == null ) throw new NullPointerException ( "Null TimerID" ) ; SleeTransactionManager txMgr = sleeContainer . getTransactionManager ( ) ; boolean terminateTx = txMgr . requireTransaction ( ) ; boolean doRollback = true ; try { cancelTimer ( timerID , true ) ; doRollback = false ; } finally { try { txMgr . requireTransactionEnd ( terminateTx , doRollback ) ; } catch ( Throwable e ) { throw new TransactionRolledbackLocalException ( e . getMessage ( ) , e ) ; } } }
/*
(non-Javadoc)
@see javax.slee.facilities.TimerFacility#cancelTimer(javax.slee.facilities.TimerID)
/ * ( non - Javadoc )