📄 xmppexception.html
字号:
<B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="XMPPException()"><!-- --></A><H3>XMPPException</H3><PRE>public <B>XMPPException</B>()</PRE><DL><DD>Creates a new XMPPException.<P></DL><HR><A NAME="XMPPException(java.lang.String)"><!-- --></A><H3>XMPPException</H3><PRE>public <B>XMPPException</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> message)</PRE><DL><DD>Creates a new XMPPException with a description of the exception.<P><DL><DT><B>Parameters:</B><DD><CODE>message</CODE> - description of the exception.</DL></DL><HR><A NAME="XMPPException(java.lang.Throwable)"><!-- --></A><H3>XMPPException</H3><PRE>public <B>XMPPException</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> wrappedThrowable)</PRE><DL><DD>Creates a new XMPPException with the Throwable that was the root cause of the exception.<P><DL><DT><B>Parameters:</B><DD><CODE>wrappedThrowable</CODE> - the root cause of the exception.</DL></DL><HR><A NAME="XMPPException(org.jivesoftware.smack.packet.StreamError)"><!-- --></A><H3>XMPPException</H3><PRE>public <B>XMPPException</B>(<A HREF="../../../org/jivesoftware/smack/packet/StreamError.html" title="class in org.jivesoftware.smack.packet">StreamError</A> streamError)</PRE><DL><DD>Cretaes a new XMPPException with the stream error that was the root case of the exception. When a stream error is received from the server then the underlying TCP connection will be closed by the server.<P><DL><DT><B>Parameters:</B><DD><CODE>streamError</CODE> - the root cause of the exception.</DL></DL><HR><A NAME="XMPPException(org.jivesoftware.smack.packet.XMPPError)"><!-- --></A><H3>XMPPException</H3><PRE>public <B>XMPPException</B>(<A HREF="../../../org/jivesoftware/smack/packet/XMPPError.html" title="class in org.jivesoftware.smack.packet">XMPPError</A> error)</PRE><DL><DD>Cretaes a new XMPPException with the XMPPError that was the root case of the exception.<P><DL><DT><B>Parameters:</B><DD><CODE>error</CODE> - the root cause of the exception.</DL></DL><HR><A NAME="XMPPException(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>XMPPException</H3><PRE>public <B>XMPPException</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> message, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> wrappedThrowable)</PRE><DL><DD>Creates a new XMPPException with a description of the exception and the Throwable that was the root cause of the exception.<P><DL><DT><B>Parameters:</B><DD><CODE>message</CODE> - a description of the exception.<DD><CODE>wrappedThrowable</CODE> - the root cause of the exception.</DL></DL><HR><A NAME="XMPPException(java.lang.String, org.jivesoftware.smack.packet.XMPPError, java.lang.Throwable)"><!-- --></A><H3>XMPPException</H3><PRE>public <B>XMPPException</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> message, <A HREF="../../../org/jivesoftware/smack/packet/XMPPError.html" title="class in org.jivesoftware.smack.packet">XMPPError</A> error, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> wrappedThrowable)</PRE><DL><DD>Creates a new XMPPException with a description of the exception, an XMPPError, and the Throwable that was the root cause of the exception.<P><DL><DT><B>Parameters:</B><DD><CODE>message</CODE> - a description of the exception.<DD><CODE>error</CODE> - the root cause of the exception.<DD><CODE>wrappedThrowable</CODE> - the root cause of the exception.</DL></DL><HR><A NAME="XMPPException(java.lang.String, org.jivesoftware.smack.packet.XMPPError)"><!-- --></A><H3>XMPPException</H3><PRE>public <B>XMPPException</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> message, <A HREF="../../../org/jivesoftware/smack/packet/XMPPError.html" title="class in org.jivesoftware.smack.packet">XMPPError</A> error)</PRE><DL><DD>Creates a new XMPPException with a description of the exception and the XMPPException that was the root cause of the exception.<P><DL><DT><B>Parameters:</B><DD><CODE>message</CODE> - a description of the exception.<DD><CODE>error</CODE> - the root cause of the exception.</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getXMPPError()"><!-- --></A><H3>getXMPPError</H3><PRE>public <A HREF="../../../org/jivesoftware/smack/packet/XMPPError.html" title="class in org.jivesoftware.smack.packet">XMPPError</A> <B>getXMPPError</B>()</PRE><DL><DD>Returns the XMPPError asscociated with this exception, or <tt>null</tt> if there isn't one.<P><DD><DL><DT><B>Returns:</B><DD>the XMPPError asscociated with this exception.</DL></DD></DL><HR><A NAME="getStreamError()"><!-- --></A><H3>getStreamError</H3><PRE>public <A HREF="../../../org/jivesoftware/smack/packet/StreamError.html" title="class in org.jivesoftware.smack.packet">StreamError</A> <B>getStreamError</B>()</PRE><DL><DD>Returns the StreamError asscociated with this exception, or <tt>null</tt> if there isn't one. The underlying TCP connection is closed by the server after sending the stream error to the client.<P><DD><DL><DT><B>Returns:</B><DD>the StreamError asscociated with this exception.</DL></DD></DL><HR><A NAME="getWrappedThrowable()"><!-- --></A><H3>getWrappedThrowable</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> <B>getWrappedThrowable</B>()</PRE><DL><DD>Returns the Throwable asscociated with this exception, or <tt>null</tt> if there isn't one.<P><DD><DL><DT><B>Returns:</B><DD>the Throwable asscociated with this exception.</DL></DD></DL><HR><A NAME="printStackTrace()"><!-- --></A><H3>printStackTrace</H3><PRE>public void <B>printStackTrace</B>()</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Throwable.html#printStackTrace()" title="class or interface in java.lang">printStackTrace</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="printStackTrace(java.io.PrintStream)"><!-- --></A><H3>printStackTrace</H3><PRE>public void <B>printStackTrace</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/PrintStream.html" title="class or interface in java.io">PrintStream</A> out)</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)" title="class or interface in java.lang">printStackTrace</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="printStackTrace(java.io.PrintWriter)"><!-- --></A><H3>printStackTrace</H3><PRE>public void <B>printStackTrace</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/PrintWriter.html" title="class or interface in java.io">PrintWriter</A> out)</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)" title="class or interface in java.lang">printStackTrace</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getMessage()"><!-- --></A><H3>getMessage</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getMessage</B>()</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Throwable.html#getMessage()" title="class or interface in java.lang">getMessage</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Throwable.html#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A></CODE></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Smack</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../org/jivesoftware/smack/XMPPConnection.html" title="class in org.jivesoftware.smack"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/jivesoftware/smack/XMPPException.html" target="_top"><B>FRAMES</B></A> <A HREF="XMPPException.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright © 2003-2007 Jive Software. </i></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -