=true" title="class or interface in java.lang">IllegalStateException</a></code> - The Container throws the exception if the instance is not allowed to use this method
 (e.g. if the bean is a stateful session bean)</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>EJB 2.1</dd>
</dl>
</li>
</ul>
<a name="lookup-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lookup</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=tr