il/NoSuchProviderException.html" title="class in jakarta.mail">NoSuchProviderException</a></code> - If a provider for the given
                        protocol is not found.</dd>
</dl>
</li>
</ul>
<a name="setProvider-jakarta.mail.Provider-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setProvider</h4>
<pre>public&nbsp;void&nbsp;setProvider(<a href="../../jakarta/mail/Provider.html" title="class in jakarta.mail">Provider</a>&nbsp;provider)
                 throws <a href="../../jakart