public void setRollbackOnly() throws IllegalStateException { TransactionImpl tx = (TransactionImpl) threadTx.get(); if (tx == null) { throw new IllegalStateException("No transaction associated with current thread"); } tx.setRollbackOnly(); }
public void setRollbackOnly() throws IllegalStateException { TransactionImpl tx = (TransactionImpl) threadTx.get(); if (tx == null) { throw new IllegalStateException("No transaction associated with current thread"); } tx.setRollbackOnly(); }
public void setRollbackOnly() throws IllegalStateException { TransactionImpl tx = (TransactionImpl) threadTx.get(); if (tx == null) { throw new IllegalStateException("No transaction associated with current thread"); } tx.setRollbackOnly(); }
public void setRollbackOnly() throws IllegalStateException { TransactionImpl tx = (TransactionImpl) threadTx.get(); if (tx == null) { throw new IllegalStateException("No transaction associated with current thread"); } tx.setRollbackOnly(); }
public synchronized void setRollbackOnly() throws IllegalStateException { setRollbackOnly(new SetRollbackOnlyException()); }
log.warn("Unable to enlist XAResource " + xaRes + ", errorCode: " + e.errorCode, e); setRollbackOnly(); return false;
log.warn("Unable to enlist XAResource " + xaRes + ", errorCode: " + e.errorCode, e); setRollbackOnly(); return false;
log.warn("Unable to enlist XAResource " + xaRes + ", errorCode: " + e.errorCode, e); setRollbackOnly(e); return false;