in javax.mail">IllegalWriteException</a></code> - if the underlying
                        implementation does not support modification
                        of existing values</dd>
<dd><code><a href="../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</a></code> - for other failures</dd>
</dl>
</li>
</ul>
<a name="addBodyPart-javax.mail.BodyPart-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addBodyPart</h4>
<pre>public&nbsp;void&nbsp;addBod