" title="class or interface in java.lang" class="external-link">IllegalStateException</a></code> - if called outside of the observer method invocation</dd>
<dt>Since:</dt>
<dd>2.0</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addContext(jakarta.enterprise.context.spi.Context)">
<h3>addContext</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">addContext</span><wbr><span class="parameters">(<a href="../../context/spi/Context.html" title="in