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:38 PST 2009 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  7. <TITLE>
  8. MessagingException (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="MessagingException (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/MessagingException.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;<A HREF="../../javax/mail/MessageRemovedException.html" title="class in javax.mail"><B>PREV CLASS</B></A>&nbsp;
  60. &nbsp;<A HREF="../../javax/mail/MethodNotSupportedException.html" title="class in javax.mail"><B>NEXT CLASS</B></A></FONT></TD>
  61. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  62.   <A HREF="../../index.html?javax/mail/MessagingException.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  63. &nbsp;<A HREF="MessagingException.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;FIELD&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;FIELD&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</FONT>
  93. <BR>
  94. Class MessagingException</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 "><B>javax.mail.MessagingException</B>
  100. </PRE>
  101. <DL>
  102. <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>
  103. </DL>
  104. <DL>
  105. <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../javax/mail/AuthenticationFailedException.html" title="class in javax.mail">AuthenticationFailedException</A>, <A HREF="../../javax/mail/FolderClosedException.html" title="class in javax.mail">FolderClosedException</A>, <A HREF="../../javax/mail/FolderNotFoundException.html" title="class in javax.mail">FolderNotFoundException</A>, <A HREF="../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A>, <A HREF="../../javax/mail/MessageRemovedException.html" title="class in javax.mail">MessageRemovedException</A>, <A HREF="../../javax/mail/MethodNotSupportedException.html" title="class in javax.mail">MethodNotSupportedException</A>, <A HREF="../../javax/mail/NoSuchProviderException.html" title="class in javax.mail">NoSuchProviderException</A>, <A HREF="../../javax/mail/internet/ParseException.html" title="class in javax.mail.internet">ParseException</A>, <A HREF="../../javax/mail/ReadOnlyFolderException.html" title="class in javax.mail">ReadOnlyFolderException</A>, <A HREF="../../javax/mail/search/SearchException.html" title="class in javax.mail.search">SearchException</A>, <A HREF="../../javax/mail/SendFailedException.html" title="class in javax.mail">SendFailedException</A>, <A HREF="../../com/sun/mail/smtp/SMTPAddressSucceededException.html" title="class in com.sun.mail.smtp">SMTPAddressSucceededException</A>, <A HREF="../../javax/mail/StoreClosedException.html" title="class in javax.mail">StoreClosedException</A></DD>
  106. </DL>
  107. <HR>
  108. <DL>
  109. <DT><PRE>public class <B>MessagingException</B><DT>extends <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">Exception</A></DL>
  110. </PRE>
  111.  
  112. <P>
  113. The base class for all exceptions thrown by the Messaging classes
  114. <P>
  115.  
  116. <P>
  117. <DL>
  118. <DT><B>See Also:</B><DD><A HREF="../../serialized-form.html#javax.mail.MessagingException">Serialized Form</A></DL>
  119. <HR>
  120.  
  121. <P>
  122.  
  123. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  124.  
  125. <A NAME="constructor_summary"><!-- --></A>
  126. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  127. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  128. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  129. <B>Constructor Summary</B></FONT></TH>
  130. </TR>
  131. <TR BGCOLOR="white" CLASS="TableRowColor">
  132. <TD><CODE><B><A HREF="../../javax/mail/MessagingException.html#MessagingException()">MessagingException</A></B>()</CODE>
  133.  
  134. <BR>
  135. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a MessagingException with no detail message.</TD>
  136. </TR>
  137. <TR BGCOLOR="white" CLASS="TableRowColor">
  138. <TD><CODE><B><A HREF="../../javax/mail/MessagingException.html#MessagingException(java.lang.String)">MessagingException</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>
  139.  
  140. <BR>
  141. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a MessagingException with the specified detail message.</TD>
  142. </TR>
  143. <TR BGCOLOR="white" CLASS="TableRowColor">
  144. <TD><CODE><B><A HREF="../../javax/mail/MessagingException.html#MessagingException(java.lang.String, java.lang.Exception)">MessagingException</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,
  145.                    <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">Exception</A>&nbsp;e)</CODE>
  146.  
  147. <BR>
  148. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a MessagingException with the specified
  149.  Exception and detail message.</TD>
  150. </TR>
  151. </TABLE>
  152. &nbsp;
  153. <!-- ========== METHOD SUMMARY =========== -->
  154.  
  155. <A NAME="method_summary"><!-- --></A>
  156. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  157. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  158. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  159. <B>Method Summary</B></FONT></TH>
  160. </TR>
  161. <TR BGCOLOR="white" CLASS="TableRowColor">
  162. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  163. <CODE>&nbsp;<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></CODE></FONT></TD>
  164. <TD><CODE><B><A HREF="../../javax/mail/MessagingException.html#getCause()">getCause</A></B>()</CODE>
  165.  
  166. <BR>
  167. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Overrides the <code>getCause</code> method of <code>Throwable</code>
  168.  to return the next exception in the chain of nested exceptions.</TD>
  169. </TR>
  170. <TR BGCOLOR="white" CLASS="TableRowColor">
  171. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  172. <CODE>&nbsp;<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">Exception</A></CODE></FONT></TD>
  173. <TD><CODE><B><A HREF="../../javax/mail/MessagingException.html#getNextException()">getNextException</A></B>()</CODE>
  174.  
  175. <BR>
  176. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the next exception chained to this one.</TD>
  177. </TR>
  178. <TR BGCOLOR="white" CLASS="TableRowColor">
  179. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  180. <CODE>&nbsp;boolean</CODE></FONT></TD>
  181. <TD><CODE><B><A HREF="../../javax/mail/MessagingException.html#setNextException(java.lang.Exception)">setNextException</A></B>(<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">Exception</A>&nbsp;ex)</CODE>
  182.  
  183. <BR>
  184. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add an exception to the end of the chain.</TD>
  185. </TR>
  186. <TR BGCOLOR="white" CLASS="TableRowColor">
  187. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  188. <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>
  189. <TD><CODE><B><A HREF="../../javax/mail/MessagingException.html#toString()">toString</A></B>()</CODE>
  190.  
  191. <BR>
  192. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Override toString method to provide information on
  193.  nested exceptions.</TD>
  194. </TR>
  195. </TABLE>
  196. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
  197. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  198. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  199. <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>
  200. </TR>
  201. <TR BGCOLOR="white" CLASS="TableRowColor">
  202. <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>
  203. </TR>
  204. </TABLE>
  205. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  206. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  207. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  208. <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>
  209. </TR>
  210. <TR BGCOLOR="white" CLASS="TableRowColor">
  211. <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>
  212. </TR>
  213. </TABLE>
  214. &nbsp;
  215. <P>
  216.  
  217. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  218.  
  219. <A NAME="constructor_detail"><!-- --></A>
  220. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  221. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  222. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  223. <B>Constructor Detail</B></FONT></TH>
  224. </TR>
  225. </TABLE>
  226.  
  227. <A NAME="MessagingException()"><!-- --></A><H3>
  228. MessagingException</H3>
  229. <PRE>
  230. public <B>MessagingException</B>()</PRE>
  231. <DL>
  232. <DD>Constructs a MessagingException with no detail message.
  233. <P>
  234. </DL>
  235. <HR>
  236.  
  237. <A NAME="MessagingException(java.lang.String)"><!-- --></A><H3>
  238. MessagingException</H3>
  239. <PRE>
  240. public <B>MessagingException</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>
  241. <DL>
  242. <DD>Constructs a MessagingException with the specified detail message.
  243. <P>
  244. <DL>
  245. <DT><B>Parameters:</B><DD><CODE>s</CODE> - the detail message</DL>
  246. </DL>
  247. <HR>
  248.  
  249. <A NAME="MessagingException(java.lang.String, java.lang.Exception)"><!-- --></A><H3>
  250. MessagingException</H3>
  251. <PRE>
  252. public <B>MessagingException</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,
  253.                           <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">Exception</A>&nbsp;e)</PRE>
  254. <DL>
  255. <DD>Constructs a MessagingException with the specified
  256.  Exception and detail message. The specified exception is chained
  257.  to this exception.
  258. <P>
  259. <DL>
  260. <DT><B>Parameters:</B><DD><CODE>s</CODE> - the detail message<DD><CODE>e</CODE> - the embedded exception<DT><B>See Also:</B><DD><A HREF="../../javax/mail/MessagingException.html#getNextException()"><CODE>getNextException()</CODE></A>,
  261. <A HREF="../../javax/mail/MessagingException.html#setNextException(java.lang.Exception)"><CODE>setNextException(java.lang.Exception)</CODE></A>,
  262. <A HREF="../../javax/mail/MessagingException.html#getCause()"><CODE>getCause()</CODE></A></DL>
  263. </DL>
  264.  
  265. <!-- ============ METHOD DETAIL ========== -->
  266.  
  267. <A NAME="method_detail"><!-- --></A>
  268. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  269. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  270. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  271. <B>Method Detail</B></FONT></TH>
  272. </TR>
  273. </TABLE>
  274.  
  275. <A NAME="getNextException()"><!-- --></A><H3>
  276. getNextException</H3>
  277. <PRE>
  278. public <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">Exception</A> <B>getNextException</B>()</PRE>
  279. <DL>
  280. <DD>Get the next exception chained to this one. If the
  281.  next exception is a MessagingException, the chain
  282.  may extend further.
  283. <P>
  284. <DD><DL>
  285.  
  286. <DT><B>Returns:</B><DD>next Exception, null if none.</DL>
  287. </DD>
  288. </DL>
  289. <HR>
  290.  
  291. <A NAME="getCause()"><!-- --></A><H3>
  292. getCause</H3>
  293. <PRE>
  294. public <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>getCause</B>()</PRE>
  295. <DL>
  296. <DD>Overrides the <code>getCause</code> method of <code>Throwable</code>
  297.  to return the next exception in the chain of nested exceptions.
  298. <P>
  299. <DD><DL>
  300. <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#getCause()" title="class or interface in java.lang">getCause</A></CODE> in class <CODE><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></CODE></DL>
  301. </DD>
  302. <DD><DL>
  303.  
  304. <DT><B>Returns:</B><DD>next Exception, null if none.</DL>
  305. </DD>
  306. </DL>
  307. <HR>
  308.  
  309. <A NAME="setNextException(java.lang.Exception)"><!-- --></A><H3>
  310. setNextException</H3>
  311. <PRE>
  312. public boolean <B>setNextException</B>(<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">Exception</A>&nbsp;ex)</PRE>
  313. <DL>
  314. <DD>Add an exception to the end of the chain. If the end
  315.  is <strong>not</strong> a MessagingException, this
  316.  exception cannot be added to the end.
  317. <P>
  318. <DD><DL>
  319. <DT><B>Parameters:</B><DD><CODE>ex</CODE> - the new end of the Exception chain
  320. <DT><B>Returns:</B><DD><code>true</code> if this Exception
  321.                         was added, <code>false</code> otherwise.</DL>
  322. </DD>
  323. </DL>
  324. <HR>
  325.  
  326. <A NAME="toString()"><!-- --></A><H3>
  327. toString</H3>
  328. <PRE>
  329. 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>
  330. <DL>
  331. <DD>Override toString method to provide information on
  332.  nested exceptions.
  333. <P>
  334. <DD><DL>
  335. <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Throwable.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><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></CODE></DL>
  336. </DD>
  337. <DD><DL>
  338. </DL>
  339. </DD>
  340. </DL>
  341. <!-- ========= END OF CLASS DATA ========= -->
  342. <HR>
  343.  
  344.  
  345. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  346. <A NAME="navbar_bottom"><!-- --></A>
  347. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  348. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  349. <TR>
  350. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  351. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  352. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  353.   <TR ALIGN="center" VALIGN="top">
  354.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  355.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  356.   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  357.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/MessagingException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  358.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  359.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  360.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  361.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  362.   </TR>
  363. </TABLE>
  364. </TD>
  365. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  366. </EM>
  367. </TD>
  368. </TR>
  369.  
  370. <TR>
  371. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  372. &nbsp;<A HREF="../../javax/mail/MessageRemovedException.html" title="class in javax.mail"><B>PREV CLASS</B></A>&nbsp;
  373. &nbsp;<A HREF="../../javax/mail/MethodNotSupportedException.html" title="class in javax.mail"><B>NEXT CLASS</B></A></FONT></TD>
  374. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  375.   <A HREF="../../index.html?javax/mail/MessagingException.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  376. &nbsp;<A HREF="MessagingException.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
  377. &nbsp;<SCRIPT type="text/javascript">
  378.   <!--
  379.   if(window==top) {
  380.     document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
  381.   }
  382.   //-->
  383. </SCRIPT>
  384. <NOSCRIPT>
  385.   <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
  386. </NOSCRIPT>
  387.  
  388.  
  389. </FONT></TD>
  390. </TR>
  391. <TR>
  392. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  393.   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  394. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  395. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  396. </TR>
  397. </TABLE>
  398. <A NAME="skip-navbar_bottom"></A>
  399. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  400.  
  401. <HR>
  402. Copyright &#169; 2009 <a href="http://www.sun.com">Sun Microsystems, Inc.</a>. All Rights Reserved.
  403. </BODY>
  404. </HTML>
  405.