@Override
 public void setRollbackOnly() throws IllegalStateException {
   // NOT_SUPPORTED and NEVER will not have a transaction context, so we can ignore those
   if (getCurrentTransactionAttribute() == TransactionAttributeType.SUPPORTS) {
     throw MESSAGES.setRollbackOnlyNotAllowedForSupportsTxAttr();
   }
   super.setRollbackOnly();
 }
 @Override
 public void setRollbackOnly() throws IllegalStateException {
   // NOT_SUPPORTED and NEVER will not have a transaction context, so we can ignore those
   if (getCurrentTransactionAttribute() == TransactionAttributeType.SUPPORTS) {
     throw new IllegalStateException(
         "EJB 3.1 FR 13.6.2.9 getRollbackOnly is not allowed with SUPPORTS attribute");
   }
   super.setRollbackOnly();
 }