Subversion Repositories javautils

Rev

Blame | Last modification | View Log | RSS feed

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.6.0_10) on Tue Nov 17 12:13:42 PST 2009 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  7. <TITLE>
  8. SMTPAddressFailedException (JavaMail API documentation)
  9. </TITLE>
  10.  
  11. <META NAME="date" CONTENT="2009-11-17">
  12.  
  13. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  14.  
  15. <SCRIPT type="text/javascript">
  16. function windowTitle()
  17. {
  18.     if (location.href.indexOf('is-external=true') == -1) {
  19.         parent.document.title="SMTPAddressFailedException (JavaMail API documentation)";
  20.     }
  21. }
  22. </SCRIPT>
  23. <NOSCRIPT>
  24. </NOSCRIPT>
  25.  
  26. </HEAD>
  27.  
  28. <BODY BGCOLOR="white" onload="windowTitle();">
  29. <HR>
  30.  
  31.  
  32. <!-- ========= START OF TOP NAVBAR ======= -->
  33. <A NAME="navbar_top"><!-- --></A>
  34. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  35. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  36. <TR>
  37. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  38. <A NAME="navbar_top_firstrow"><!-- --></A>
  39. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  40.   <TR ALIGN="center" VALIGN="top">
  41.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  42.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  43.   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  44.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SMTPAddressFailedException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  45.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  46.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  47.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  48.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  49.   </TR>
  50. </TABLE>
  51. </TD>
  52. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  53. </EM>
  54. </TD>
  55. </TR>
  56.  
  57. <TR>
  58. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  59. &nbsp;PREV CLASS&nbsp;
  60. &nbsp;<A HREF="../../../../com/sun/mail/smtp/SMTPAddressSucceededException.html" title="class in com.sun.mail.smtp"><B>NEXT CLASS</B></A></FONT></TD>
  61. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  62.   <A HREF="../../../../index.html?com/sun/mail/smtp/SMTPAddressFailedException.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  63. &nbsp;<A HREF="SMTPAddressFailedException.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
  64. &nbsp;<SCRIPT type="text/javascript">
  65.   <!--
  66.   if(window==top) {
  67.     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  68.   }
  69.   //-->
  70. </SCRIPT>
  71. <NOSCRIPT>
  72.   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  73. </NOSCRIPT>
  74.  
  75.  
  76. </FONT></TD>
  77. </TR>
  78. <TR>
  79. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  80.   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  81. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  82. DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  83. </TR>
  84. </TABLE>
  85. <A NAME="skip-navbar_top"></A>
  86. <!-- ========= END OF TOP NAVBAR ========= -->
  87.  
  88. <HR>
  89. <!-- ======== START OF CLASS DATA ======== -->
  90. <H2>
  91. <FONT SIZE="-1">
  92. com.sun.mail.smtp</FONT>
  93. <BR>
  94. Class SMTPAddressFailedException</H2>
  95. <PRE>
  96. <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
  97.   <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">java.lang.Throwable</A>
  98.       <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">java.lang.Exception</A>
  99.           <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">javax.mail.MessagingException</A>
  100.               <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../javax/mail/SendFailedException.html" title="class in javax.mail">javax.mail.SendFailedException</A>
  101.                   <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.sun.mail.smtp.SMTPAddressFailedException</B>
  102. </PRE>
  103. <DL>
  104. <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DD>
  105. </DL>
  106. <HR>
  107. <DL>
  108. <DT><PRE>public class <B>SMTPAddressFailedException</B><DT>extends <A HREF="../../../../javax/mail/SendFailedException.html" title="class in javax.mail">SendFailedException</A></DL>
  109. </PRE>
  110.  
  111. <P>
  112. This exception is thrown when the message cannot be sent. <p>
  113.  
  114.  The exception includes the address to which the message could not be
  115.  sent.  This will usually appear in a chained list of exceptions,
  116.  one per address, attached to a top level SendFailedException that
  117.  aggregates all the addresses.
  118. <P>
  119.  
  120. <P>
  121. <DL>
  122. <DT><B>Since:</B></DT>
  123.   <DD>JavaMail 1.3.2</DD>
  124. <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#com.sun.mail.smtp.SMTPAddressFailedException">Serialized Form</A></DL>
  125. <HR>
  126.  
  127. <P>
  128. <!-- =========== FIELD SUMMARY =========== -->
  129.  
  130. <A NAME="field_summary"><!-- --></A>
  131. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  132. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  133. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  134. <B>Field Summary</B></FONT></TH>
  135. </TR>
  136. <TR BGCOLOR="white" CLASS="TableRowColor">
  137. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  138. <CODE>protected &nbsp;<A HREF="../../../../javax/mail/internet/InternetAddress.html" title="class in javax.mail.internet">InternetAddress</A></CODE></FONT></TD>
  139. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPAddressFailedException.html#addr">addr</A></B></CODE>
  140.  
  141. <BR>
  142. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  143. </TR>
  144. <TR BGCOLOR="white" CLASS="TableRowColor">
  145. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  146. <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
  147. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPAddressFailedException.html#cmd">cmd</A></B></CODE>
  148.  
  149. <BR>
  150. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  151. </TR>
  152. <TR BGCOLOR="white" CLASS="TableRowColor">
  153. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  154. <CODE>protected &nbsp;int</CODE></FONT></TD>
  155. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPAddressFailedException.html#rc">rc</A></B></CODE>
  156.  
  157. <BR>
  158. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  159. </TR>
  160. </TABLE>
  161. &nbsp;<A NAME="fields_inherited_from_class_javax.mail.SendFailedException"><!-- --></A>
  162. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  163. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  164. <TH ALIGN="left"><B>Fields inherited from class javax.mail.<A HREF="../../../../javax/mail/SendFailedException.html" title="class in javax.mail">SendFailedException</A></B></TH>
  165. </TR>
  166. <TR BGCOLOR="white" CLASS="TableRowColor">
  167. <TD><CODE><A HREF="../../../../javax/mail/SendFailedException.html#invalid">invalid</A>, <A HREF="../../../../javax/mail/SendFailedException.html#validSent">validSent</A>, <A HREF="../../../../javax/mail/SendFailedException.html#validUnsent">validUnsent</A></CODE></TD>
  168. </TR>
  169. </TABLE>
  170. &nbsp;
  171. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  172.  
  173. <A NAME="constructor_summary"><!-- --></A>
  174. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  175. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  176. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  177. <B>Constructor Summary</B></FONT></TH>
  178. </TR>
  179. <TR BGCOLOR="white" CLASS="TableRowColor">
  180. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPAddressFailedException.html#SMTPAddressFailedException(javax.mail.internet.InternetAddress, java.lang.String, int, java.lang.String)">SMTPAddressFailedException</A></B>(<A HREF="../../../../javax/mail/internet/InternetAddress.html" title="class in javax.mail.internet">InternetAddress</A>&nbsp;addr,
  181.                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;cmd,
  182.                            int&nbsp;rc,
  183.                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;err)</CODE>
  184.  
  185. <BR>
  186. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an SMTPAddressFailedException with the specified
  187.  address, return code, and error string.</TD>
  188. </TR>
  189. </TABLE>
  190. &nbsp;
  191. <!-- ========== METHOD SUMMARY =========== -->
  192.  
  193. <A NAME="method_summary"><!-- --></A>
  194. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  195. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  196. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  197. <B>Method Summary</B></FONT></TH>
  198. </TR>
  199. <TR BGCOLOR="white" CLASS="TableRowColor">
  200. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  201. <CODE>&nbsp;<A HREF="../../../../javax/mail/internet/InternetAddress.html" title="class in javax.mail.internet">InternetAddress</A></CODE></FONT></TD>
  202. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPAddressFailedException.html#getAddress()">getAddress</A></B>()</CODE>
  203.  
  204. <BR>
  205. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the address that failed.</TD>
  206. </TR>
  207. <TR BGCOLOR="white" CLASS="TableRowColor">
  208. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  209. <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
  210. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPAddressFailedException.html#getCommand()">getCommand</A></B>()</CODE>
  211.  
  212. <BR>
  213. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the command that failed.</TD>
  214. </TR>
  215. <TR BGCOLOR="white" CLASS="TableRowColor">
  216. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  217. <CODE>&nbsp;int</CODE></FONT></TD>
  218. <TD><CODE><B><A HREF="../../../../com/sun/mail/smtp/SMTPAddressFailedException.html#getReturnCode()">getReturnCode</A></B>()</CODE>
  219.  
  220. <BR>
  221. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the return code from the SMTP server that indicates the
  222.  reason for the failure.</TD>
  223. </TR>
  224. </TABLE>
  225. &nbsp;<A NAME="methods_inherited_from_class_javax.mail.SendFailedException"><!-- --></A>
  226. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  227. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  228. <TH ALIGN="left"><B>Methods inherited from class javax.mail.<A HREF="../../../../javax/mail/SendFailedException.html" title="class in javax.mail">SendFailedException</A></B></TH>
  229. </TR>
  230. <TR BGCOLOR="white" CLASS="TableRowColor">
  231. <TD><CODE><A HREF="../../../../javax/mail/SendFailedException.html#getInvalidAddresses()">getInvalidAddresses</A>, <A HREF="../../../../javax/mail/SendFailedException.html#getValidSentAddresses()">getValidSentAddresses</A>, <A HREF="../../../../javax/mail/SendFailedException.html#getValidUnsentAddresses()">getValidUnsentAddresses</A></CODE></TD>
  232. </TR>
  233. </TABLE>
  234. &nbsp;<A NAME="methods_inherited_from_class_javax.mail.MessagingException"><!-- --></A>
  235. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  236. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  237. <TH ALIGN="left"><B>Methods inherited from class javax.mail.<A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></B></TH>
  238. </TR>
  239. <TR BGCOLOR="white" CLASS="TableRowColor">
  240. <TD><CODE><A HREF="../../../../javax/mail/MessagingException.html#getCause()">getCause</A>, <A HREF="../../../../javax/mail/MessagingException.html#getNextException()">getNextException</A>, <A HREF="../../../../javax/mail/MessagingException.html#setNextException(java.lang.Exception)">setNextException</A>, <A HREF="../../../../javax/mail/MessagingException.html#toString()">toString</A></CODE></TD>
  241. </TR>
  242. </TABLE>
  243. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
  244. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  245. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  246. <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A></B></TH>
  247. </TR>
  248. <TR BGCOLOR="white" CLASS="TableRowColor">
  249. <TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace()" title="class or interface in java.lang">fillInStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage()" title="class or interface in java.lang">getLocalizedMessage</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#getMessage()" title="class or interface in java.lang">getMessage</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#getStackTrace()" title="class or interface in java.lang">getStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#initCause(java.lang.Throwable)" title="class or interface in java.lang">initCause</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace()" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace(java.io.PrintStream)" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace(java.io.PrintWriter)" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#setStackTrace(java.lang.StackTraceElement[])" title="class or interface in java.lang">setStackTrace</A></CODE></TD>
  250. </TR>
  251. </TABLE>
  252. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  253. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  254. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  255. <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
  256. </TR>
  257. <TR BGCOLOR="white" CLASS="TableRowColor">
  258. <TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
  259. </TR>
  260. </TABLE>
  261. &nbsp;
  262. <P>
  263.  
  264. <!-- ============ FIELD DETAIL =========== -->
  265.  
  266. <A NAME="field_detail"><!-- --></A>
  267. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  268. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  269. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  270. <B>Field Detail</B></FONT></TH>
  271. </TR>
  272. </TABLE>
  273.  
  274. <A NAME="addr"><!-- --></A><H3>
  275. addr</H3>
  276. <PRE>
  277. protected <A HREF="../../../../javax/mail/internet/InternetAddress.html" title="class in javax.mail.internet">InternetAddress</A> <B>addr</B></PRE>
  278. <DL>
  279. <DL>
  280. </DL>
  281. </DL>
  282. <HR>
  283.  
  284. <A NAME="cmd"><!-- --></A><H3>
  285. cmd</H3>
  286. <PRE>
  287. protected <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>cmd</B></PRE>
  288. <DL>
  289. <DL>
  290. </DL>
  291. </DL>
  292. <HR>
  293.  
  294. <A NAME="rc"><!-- --></A><H3>
  295. rc</H3>
  296. <PRE>
  297. protected int <B>rc</B></PRE>
  298. <DL>
  299. <DL>
  300. </DL>
  301. </DL>
  302.  
  303. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  304.  
  305. <A NAME="constructor_detail"><!-- --></A>
  306. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  307. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  308. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  309. <B>Constructor Detail</B></FONT></TH>
  310. </TR>
  311. </TABLE>
  312.  
  313. <A NAME="SMTPAddressFailedException(javax.mail.internet.InternetAddress, java.lang.String, int, java.lang.String)"><!-- --></A><H3>
  314. SMTPAddressFailedException</H3>
  315. <PRE>
  316. public <B>SMTPAddressFailedException</B>(<A HREF="../../../../javax/mail/internet/InternetAddress.html" title="class in javax.mail.internet">InternetAddress</A>&nbsp;addr,
  317.                                   <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;cmd,
  318.                                   int&nbsp;rc,
  319.                                   <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;err)</PRE>
  320. <DL>
  321. <DD>Constructs an SMTPAddressFailedException with the specified
  322.  address, return code, and error string.
  323. <P>
  324. <DL>
  325. <DT><B>Parameters:</B><DD><CODE>addr</CODE> - the address that failed<DD><CODE>cmd</CODE> - the command that was sent to the SMTP server<DD><CODE>rc</CODE> - the SMTP return code indicating the failure<DD><CODE>err</CODE> - the error string from the SMTP server</DL>
  326. </DL>
  327.  
  328. <!-- ============ METHOD DETAIL ========== -->
  329.  
  330. <A NAME="method_detail"><!-- --></A>
  331. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  332. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  333. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  334. <B>Method Detail</B></FONT></TH>
  335. </TR>
  336. </TABLE>
  337.  
  338. <A NAME="getAddress()"><!-- --></A><H3>
  339. getAddress</H3>
  340. <PRE>
  341. public <A HREF="../../../../javax/mail/internet/InternetAddress.html" title="class in javax.mail.internet">InternetAddress</A> <B>getAddress</B>()</PRE>
  342. <DL>
  343. <DD>Return the address that failed.
  344. <P>
  345. <DD><DL>
  346. </DL>
  347. </DD>
  348. </DL>
  349. <HR>
  350.  
  351. <A NAME="getCommand()"><!-- --></A><H3>
  352. getCommand</H3>
  353. <PRE>
  354. public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getCommand</B>()</PRE>
  355. <DL>
  356. <DD>Return the command that failed.
  357. <P>
  358. <DD><DL>
  359. </DL>
  360. </DD>
  361. </DL>
  362. <HR>
  363.  
  364. <A NAME="getReturnCode()"><!-- --></A><H3>
  365. getReturnCode</H3>
  366. <PRE>
  367. public int <B>getReturnCode</B>()</PRE>
  368. <DL>
  369. <DD>Return the return code from the SMTP server that indicates the
  370.  reason for the failure.  See
  371.  <A HREF="http://www.ietf.org/rfc/rfc821.txt">RFC 821</A>
  372.  for interpretation of the return code.
  373. <P>
  374. <DD><DL>
  375. </DL>
  376. </DD>
  377. </DL>
  378. <!-- ========= END OF CLASS DATA ========= -->
  379. <HR>
  380.  
  381.  
  382. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  383. <A NAME="navbar_bottom"><!-- --></A>
  384. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  385. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  386. <TR>
  387. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  388. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  389. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  390.   <TR ALIGN="center" VALIGN="top">
  391.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  392.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  393.   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  394.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SMTPAddressFailedException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  395.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  396.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  397.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  398.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  399.   </TR>
  400. </TABLE>
  401. </TD>
  402. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  403. </EM>
  404. </TD>
  405. </TR>
  406.  
  407. <TR>
  408. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  409. &nbsp;PREV CLASS&nbsp;
  410. &nbsp;<A HREF="../../../../com/sun/mail/smtp/SMTPAddressSucceededException.html" title="class in com.sun.mail.smtp"><B>NEXT CLASS</B></A></FONT></TD>
  411. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  412.   <A HREF="../../../../index.html?com/sun/mail/smtp/SMTPAddressFailedException.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  413. &nbsp;<A HREF="SMTPAddressFailedException.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
  414. &nbsp;<SCRIPT type="text/javascript">
  415.   <!--
  416.   if(window==top) {
  417.     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  418.   }
  419.   //-->
  420. </SCRIPT>
  421. <NOSCRIPT>
  422.   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  423. </NOSCRIPT>
  424.  
  425.  
  426. </FONT></TD>
  427. </TR>
  428. <TR>
  429. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  430.   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  431. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  432. DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  433. </TR>
  434. </TABLE>
  435. <A NAME="skip-navbar_bottom"></A>
  436. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  437.  
  438. <HR>
  439. Copyright &#169; 2009 <a href="http://www.sun.com">Sun Microsystems, Inc.</a>. All Rights Reserved.
  440. </BODY>
  441. </HTML>
  442.