public void setRollbackOnly()
   {
      TransactionImpl tx = registry.getTransaction();

      if (tx == null)
         throw new IllegalStateException();

      try
      {
         tx.setRollbackOnly();
      }
      catch (Throwable t)
      {
         // Nothing to do
      }
   }
public void setRollbackOnly ( ) { TransactionImpl tx = registry . getTransaction ( ) ; if ( tx == null ) throw new IllegalStateException ( ) ; try { tx . setRollbackOnly ( ) ; } catch ( Throwable t ) { } }
{@inheritDoc}