cs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang"><code>IllegalStateException</code></a> is thrown, otherwise the first provider which can
 access the container is used.
 </p></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the CDI instance</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title=