itle="class in jakarta.mail">MessagingException</a></code> - for failures</dd>
</dl>
</li>
</ul>
<a id="getCount()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCount</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getCount()
             throws <a href="../MessagingException.html" title="class in jakarta.mail">MessagingException</a></pre>
<div class="block">Return the number of enclosed BodyPart objects.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt