sagingException.html" title="class in javax.mail">MessagingException</a></pre>
<div class="block">Get the specified Part.  Parts are numbered starting at 0.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index of the desired Part</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the Part</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external