l" title="class in jakarta.mail">MessagingException</a></code> - for failures</dd>
</dl>
</li>
</ul>
<a id="getMessageByUID(long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMessageByUID</h4>
<pre class="methodSignature"><a href="Message.html" title="class in jakarta.mail">Message</a>&nbsp;getMessageByUID&#8203;(long&nbsp;uid)
                 throws <a href="MessagingException.html" title="class in jakarta.mail">MessagingException</a></pre>
<div class="block">Get the Message corr