owed to use this method.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalStateException</a></code> - The Container throws the exception if the instance is not allowed to use this method
 (i.e. the instance is of a bean with bean-managed transactions).</dd>
</dl>
</li>
</ul>
<a id="getRollbackOnl