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:39 PST 2009 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  7. <TITLE>
  8. AddressException (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="AddressException (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/AddressException.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="../../../javax/mail/internet/ContentDisposition.html" title="class in javax.mail.internet"><B>NEXT CLASS</B></A></FONT></TD>
  61. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  62.   <A HREF="../../../index.html?javax/mail/internet/AddressException.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  63. &nbsp;<A HREF="AddressException.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. javax.mail.internet</FONT>
  93. <BR>
  94. Class AddressException</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/internet/ParseException.html" title="class in javax.mail.internet">javax.mail.internet.ParseException</A>
  101.                   <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>javax.mail.internet.AddressException</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>AddressException</B><DT>extends <A HREF="../../../javax/mail/internet/ParseException.html" title="class in javax.mail.internet">ParseException</A></DL>
  109. </PRE>
  110.  
  111. <P>
  112. The exception thrown when a wrongly formatted address is encountered.
  113. <P>
  114.  
  115. <P>
  116. <DL>
  117. <DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#javax.mail.internet.AddressException">Serialized Form</A></DL>
  118. <HR>
  119.  
  120. <P>
  121. <!-- =========== FIELD SUMMARY =========== -->
  122.  
  123. <A NAME="field_summary"><!-- --></A>
  124. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  125. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  126. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  127. <B>Field Summary</B></FONT></TH>
  128. </TR>
  129. <TR BGCOLOR="white" CLASS="TableRowColor">
  130. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  131. <CODE>protected &nbsp;int</CODE></FONT></TD>
  132. <TD><CODE><B><A HREF="../../../javax/mail/internet/AddressException.html#pos">pos</A></B></CODE>
  133.  
  134. <BR>
  135. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The index in the string where the error occurred, or -1 if not known.</TD>
  136. </TR>
  137. <TR BGCOLOR="white" CLASS="TableRowColor">
  138. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  139. <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>
  140. <TD><CODE><B><A HREF="../../../javax/mail/internet/AddressException.html#ref">ref</A></B></CODE>
  141.  
  142. <BR>
  143. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The string being parsed.</TD>
  144. </TR>
  145. </TABLE>
  146. &nbsp;
  147. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  148.  
  149. <A NAME="constructor_summary"><!-- --></A>
  150. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  151. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  152. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  153. <B>Constructor Summary</B></FONT></TH>
  154. </TR>
  155. <TR BGCOLOR="white" CLASS="TableRowColor">
  156. <TD><CODE><B><A HREF="../../../javax/mail/internet/AddressException.html#AddressException()">AddressException</A></B>()</CODE>
  157.  
  158. <BR>
  159. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an AddressException with no detail message.</TD>
  160. </TR>
  161. <TR BGCOLOR="white" CLASS="TableRowColor">
  162. <TD><CODE><B><A HREF="../../../javax/mail/internet/AddressException.html#AddressException(java.lang.String)">AddressException</A></B>(<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;s)</CODE>
  163.  
  164. <BR>
  165. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an AddressException with the specified detail message.</TD>
  166. </TR>
  167. <TR BGCOLOR="white" CLASS="TableRowColor">
  168. <TD><CODE><B><A HREF="../../../javax/mail/internet/AddressException.html#AddressException(java.lang.String, java.lang.String)">AddressException</A></B>(<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;s,
  169.                  <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;ref)</CODE>
  170.  
  171. <BR>
  172. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an AddressException with the specified detail message
  173.  and reference info.</TD>
  174. </TR>
  175. <TR BGCOLOR="white" CLASS="TableRowColor">
  176. <TD><CODE><B><A HREF="../../../javax/mail/internet/AddressException.html#AddressException(java.lang.String, java.lang.String, int)">AddressException</A></B>(<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;s,
  177.                  <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;ref,
  178.                  int&nbsp;pos)</CODE>
  179.  
  180. <BR>
  181. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an AddressException with the specified detail message
  182.  and reference info.</TD>
  183. </TR>
  184. </TABLE>
  185. &nbsp;
  186. <!-- ========== METHOD SUMMARY =========== -->
  187.  
  188. <A NAME="method_summary"><!-- --></A>
  189. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  190. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  191. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  192. <B>Method Summary</B></FONT></TH>
  193. </TR>
  194. <TR BGCOLOR="white" CLASS="TableRowColor">
  195. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  196. <CODE>&nbsp;int</CODE></FONT></TD>
  197. <TD><CODE><B><A HREF="../../../javax/mail/internet/AddressException.html#getPos()">getPos</A></B>()</CODE>
  198.  
  199. <BR>
  200. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the position with the reference string where the error was
  201.  detected (-1 if not relevant).</TD>
  202. </TR>
  203. <TR BGCOLOR="white" CLASS="TableRowColor">
  204. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  205. <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>
  206. <TD><CODE><B><A HREF="../../../javax/mail/internet/AddressException.html#getRef()">getRef</A></B>()</CODE>
  207.  
  208. <BR>
  209. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the string that was being parsed when the error was detected
  210.  (null if not relevant).</TD>
  211. </TR>
  212. <TR BGCOLOR="white" CLASS="TableRowColor">
  213. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  214. <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>
  215. <TD><CODE><B><A HREF="../../../javax/mail/internet/AddressException.html#toString()">toString</A></B>()</CODE>
  216.  
  217. <BR>
  218. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Override toString method to provide information on
  219.  nested exceptions.</TD>
  220. </TR>
  221. </TABLE>
  222. &nbsp;<A NAME="methods_inherited_from_class_javax.mail.MessagingException"><!-- --></A>
  223. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  224. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  225. <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>
  226. </TR>
  227. <TR BGCOLOR="white" CLASS="TableRowColor">
  228. <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></CODE></TD>
  229. </TR>
  230. </TABLE>
  231. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
  232. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  233. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  234. <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>
  235. </TR>
  236. <TR BGCOLOR="white" CLASS="TableRowColor">
  237. <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>
  238. </TR>
  239. </TABLE>
  240. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  241. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  242. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  243. <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>
  244. </TR>
  245. <TR BGCOLOR="white" CLASS="TableRowColor">
  246. <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>
  247. </TR>
  248. </TABLE>
  249. &nbsp;
  250. <P>
  251.  
  252. <!-- ============ FIELD DETAIL =========== -->
  253.  
  254. <A NAME="field_detail"><!-- --></A>
  255. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  256. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  257. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  258. <B>Field Detail</B></FONT></TH>
  259. </TR>
  260. </TABLE>
  261.  
  262. <A NAME="ref"><!-- --></A><H3>
  263. ref</H3>
  264. <PRE>
  265. 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>ref</B></PRE>
  266. <DL>
  267. <DD>The string being parsed.
  268. <P>
  269. <DL>
  270. </DL>
  271. </DL>
  272. <HR>
  273.  
  274. <A NAME="pos"><!-- --></A><H3>
  275. pos</H3>
  276. <PRE>
  277. protected int <B>pos</B></PRE>
  278. <DL>
  279. <DD>The index in the string where the error occurred, or -1 if not known.
  280. <P>
  281. <DL>
  282. </DL>
  283. </DL>
  284.  
  285. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  286.  
  287. <A NAME="constructor_detail"><!-- --></A>
  288. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  289. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  290. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  291. <B>Constructor Detail</B></FONT></TH>
  292. </TR>
  293. </TABLE>
  294.  
  295. <A NAME="AddressException()"><!-- --></A><H3>
  296. AddressException</H3>
  297. <PRE>
  298. public <B>AddressException</B>()</PRE>
  299. <DL>
  300. <DD>Constructs an AddressException with no detail message.
  301. <P>
  302. </DL>
  303. <HR>
  304.  
  305. <A NAME="AddressException(java.lang.String)"><!-- --></A><H3>
  306. AddressException</H3>
  307. <PRE>
  308. public <B>AddressException</B>(<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;s)</PRE>
  309. <DL>
  310. <DD>Constructs an AddressException with the specified detail message.
  311. <P>
  312. <DL>
  313. <DT><B>Parameters:</B><DD><CODE>s</CODE> - the detail message</DL>
  314. </DL>
  315. <HR>
  316.  
  317. <A NAME="AddressException(java.lang.String, java.lang.String)"><!-- --></A><H3>
  318. AddressException</H3>
  319. <PRE>
  320. public <B>AddressException</B>(<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;s,
  321.                         <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;ref)</PRE>
  322. <DL>
  323. <DD>Constructs an AddressException with the specified detail message
  324.  and reference info.
  325. <P>
  326. <DL>
  327. <DT><B>Parameters:</B><DD><CODE>s</CODE> - the detail message</DL>
  328. </DL>
  329. <HR>
  330.  
  331. <A NAME="AddressException(java.lang.String, java.lang.String, int)"><!-- --></A><H3>
  332. AddressException</H3>
  333. <PRE>
  334. public <B>AddressException</B>(<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;s,
  335.                         <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;ref,
  336.                         int&nbsp;pos)</PRE>
  337. <DL>
  338. <DD>Constructs an AddressException with the specified detail message
  339.  and reference info.
  340. <P>
  341. <DL>
  342. <DT><B>Parameters:</B><DD><CODE>s</CODE> - the detail message</DL>
  343. </DL>
  344.  
  345. <!-- ============ METHOD DETAIL ========== -->
  346.  
  347. <A NAME="method_detail"><!-- --></A>
  348. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  349. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  350. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  351. <B>Method Detail</B></FONT></TH>
  352. </TR>
  353. </TABLE>
  354.  
  355. <A NAME="getRef()"><!-- --></A><H3>
  356. getRef</H3>
  357. <PRE>
  358. 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>getRef</B>()</PRE>
  359. <DL>
  360. <DD>Get the string that was being parsed when the error was detected
  361.  (null if not relevant).
  362. <P>
  363. <DD><DL>
  364. </DL>
  365. </DD>
  366. </DL>
  367. <HR>
  368.  
  369. <A NAME="getPos()"><!-- --></A><H3>
  370. getPos</H3>
  371. <PRE>
  372. public int <B>getPos</B>()</PRE>
  373. <DL>
  374. <DD>Get the position with the reference string where the error was
  375.  detected (-1 if not relevant).
  376. <P>
  377. <DD><DL>
  378. </DL>
  379. </DD>
  380. </DL>
  381. <HR>
  382.  
  383. <A NAME="toString()"><!-- --></A><H3>
  384. toString</H3>
  385. <PRE>
  386. 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>toString</B>()</PRE>
  387. <DL>
  388. <DD><B>Description copied from class: <CODE><A HREF="../../../javax/mail/MessagingException.html#toString()">MessagingException</A></CODE></B></DD>
  389. <DD>Override toString method to provide information on
  390.  nested exceptions.
  391. <P>
  392. <DD><DL>
  393. <DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/mail/MessagingException.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
  394. </DD>
  395. <DD><DL>
  396. </DL>
  397. </DD>
  398. </DL>
  399. <!-- ========= END OF CLASS DATA ========= -->
  400. <HR>
  401.  
  402.  
  403. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  404. <A NAME="navbar_bottom"><!-- --></A>
  405. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  406. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  407. <TR>
  408. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  409. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  410. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  411.   <TR ALIGN="center" VALIGN="top">
  412.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  413.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  414.   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  415.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/AddressException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  416.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  417.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  418.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  419.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  420.   </TR>
  421. </TABLE>
  422. </TD>
  423. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  424. </EM>
  425. </TD>
  426. </TR>
  427.  
  428. <TR>
  429. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  430. &nbsp;PREV CLASS&nbsp;
  431. &nbsp;<A HREF="../../../javax/mail/internet/ContentDisposition.html" title="class in javax.mail.internet"><B>NEXT CLASS</B></A></FONT></TD>
  432. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  433.   <A HREF="../../../index.html?javax/mail/internet/AddressException.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  434. &nbsp;<A HREF="AddressException.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
  435. &nbsp;<SCRIPT type="text/javascript">
  436.   <!--
  437.   if(window==top) {
  438.     document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  439.   }
  440.   //-->
  441. </SCRIPT>
  442. <NOSCRIPT>
  443.   <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  444. </NOSCRIPT>
  445.  
  446.  
  447. </FONT></TD>
  448. </TR>
  449. <TR>
  450. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  451.   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>
  452. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  453. 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>
  454. </TR>
  455. </TABLE>
  456. <A NAME="skip-navbar_bottom"></A>
  457. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  458.  
  459. <HR>
  460. Copyright &#169; 2009 <a href="http://www.sun.com">Sun Microsystems, Inc.</a>. All Rights Reserved.
  461. </BODY>
  462. </HTML>
  463.