protected void checkTransaction() throws IllegalStateException {
		try {
			if (!sleeContainer.getTransactionManager().getTransaction().equals(this.transaction)) {
				throw new IllegalStateException();
			}
		} catch (SystemException e) {
			throw new IllegalStateException();
		}		
	}
protected void checkTransaction() throws IllegalStateException {
		try {
			if (!sleeContainer.getTransactionManager().getTransaction().equals(this.transaction)) {
				throw new IllegalStateException();
			}
		} catch (SystemException e) {
			throw new IllegalStateException();
		}		
	}
protected void checkTransaction ( ) throws IllegalStateException { try { if ( ! sleeContainer . getTransactionManager ( ) . getTransaction ( ) . equals ( this . transaction ) ) { throw new IllegalStateException ( ) ; } } catch ( SystemException e ) { throw new IllegalStateException ( ) ; } }
Verifies that the current transaction is still the one used to create the object
@throws IllegalStateException
Verifies that the current transaction is still the one used to create the object