etRollbackOnly</h4>
<pre>boolean&nbsp;getRollbackOnly()
                 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></pre>
<div class="block">Test if the transaction has been marked for rollback only. An enterprise bean instance can use this operation, for
 example, to test after an exception has been caught, whether it is fruitless to continue computation on behalf of the
 