</dt>
<dd><code><a href="../MessagingException.html" title="class in jakarta.mail">MessagingException</a></code> - if no such BodyPart exists</dd>
</dl>
</li>
</ul>
<a id="getBodyPart(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBodyPart</h4>
<pre class="methodSignature">public&nbsp;<a href="../BodyPart.html" title="class in jakarta.mail">BodyPart</a>&nbsp;getBodyPart&#8203;(java.lang.String&nbsp;CID)
                     throws <a href="../MessagingException.html