ejb3/src/main/java/org/jboss/as/ejb3/timerservice/TimerServiceImpl.java
private void setRollbackOnly() {
        try {
            Transaction tx = ContextTransactionManager.getInstance().getTransaction();
            if (tx != null) {
                tx.setRollbackOnly();
            }
        } catch (IllegalStateException ise) {
            EJB3_TIMER_LOGGER.ignoringException(ise);
        } catch (SystemException se) {
            EJB3_TIMER_LOGGER.ignoringException(se);
        }
    }
private void setRollbackOnly() {
        try {
            Transaction tx = ContextTransactionManager.getInstance().getTransaction();
            if (tx != null) {
                tx.setRollbackOnly();
            }
        } catch (IllegalStateException ise) {
            EJB3_TIMER_LOGGER.ignoringException(ise);
        } catch (SystemException se) {
            EJB3_TIMER_LOGGER.ignoringException(se);
        }
    }
private void setRollbackOnly ( ) { try { Transaction tx = ContextTransactionManager . getInstance ( ) . getTransaction ( ) ; if ( tx != null ) { tx . setRollbackOnly ( ) ; } } catch ( IllegalStateException ise ) { EJB3_TIMER_LOGGER . ignoringException ( ise ) ; } catch ( SystemException se ) { EJB3_TIMER_LOGGER . ignoringException ( se ) ; } }
Marks the transaction for rollback
NOTE: This method will soon be removed, once this timer service
implementation becomes "managed"
Marks the transaction for rollback NOTE : This method will soon be removed once this timer service implementation becomes managed