jaxrexception.html
来自「j2ee帮助文档软件设计/软件工程 文件格式」· HTML 代码 · 共 562 行 · 第 1/3 页
HTML
562 行
<DT><B>Returns:</B><DD>the error or warning message for this <code>JAXRException</code> or, if it has none, the message of the embedded Throwable, if there is one</DL></DD></DL><HR><A NAME="getCause()"><!-- --></A><H3>getCause</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> <B>getCause</B>()</PRE><DL><DD>Returns the Throwable embedded in this <code>JAXRException</code> if there is one. Otherwise, this method returns <code>null</code>.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Throwable.html#getCause()" title="class or interface in java.lang">getCause</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the embedded Throwable or <code>null</code> if there is none</DL></DD></DL><HR><A NAME="initCause(java.lang.Throwable)"><!-- --></A><H3>initCause</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> <B>initCause</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> cause)</PRE><DL><DD>Initializes the <i>cause</i> of this throwable to the specified value. (The cause is the throwable that caused this throwable to get thrown.) <p>This method can be called at most once. It is generally called from within the constructor, or immediately after creating the throwable. If this throwable was created with <A HREF="../../../javax/xml/registry/JAXRException.html#JAXRException(java.lang.Throwable)"><CODE>JAXRException(Throwable)</CODE></A> or <A HREF="../../../javax/xml/registry/JAXRException.html#JAXRException(java.lang.String, java.lang.Throwable)"><CODE>JAXRException(String,Throwable)</CODE></A>, this method cannot be called even once.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Throwable.html#initCause(java.lang.Throwable)" title="class or interface in java.lang">initCause</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>cause</CODE> - the cause (which is saved for later retrieval by the <A HREF="../../../javax/xml/registry/JAXRException.html#getCause()"><CODE>getCause()</CODE></A> method). (A <tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.)<DT><B>Returns:</B><DD>a reference to this <code>Throwable</code> instance.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>cause</code> is this throwable. (A throwable cannot be its own cause.)<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if this throwable was created with <A HREF="../../../javax/xml/registry/JAXRException.html#JAXRException(java.lang.Throwable)"><CODE>JAXRException(Throwable)</CODE></A> or <A HREF="../../../javax/xml/registry/JAXRException.html#JAXRException(java.lang.String, java.lang.Throwable)"><CODE>JAXRException(String,Throwable)</CODE></A>, or this method has already been called on this throwable.</DL></DD></DL><HR><A NAME="getRequestId()"><!-- --></A><H3>getRequestId</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getRequestId</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../javax/xml/registry/JAXRResponse.html#getRequestId()">JAXRResponse</A></CODE></B></DD><DD>Returns the unique id for the request that generated this response. <p><DL><DT><B>Capability Level: 0 </B></DL><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/xml/registry/JAXRResponse.html#getRequestId()">getRequestId</A></CODE> in interface <CODE><A HREF="../../../javax/xml/registry/JAXRResponse.html" title="interface in javax.xml.registry">JAXRResponse</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the request id</DL></DD></DL><HR><A NAME="getStatus()"><!-- --></A><H3>getStatus</H3><PRE>public int <B>getStatus</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../javax/xml/registry/JAXRResponse.html#getStatus()">JAXRResponse</A></CODE></B></DD><DD>Returns the status for this response. <p><DL><DT><B>Capability Level: 0 </B></DL><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/xml/registry/JAXRResponse.html#getStatus()">getStatus</A></CODE> in interface <CODE><A HREF="../../../javax/xml/registry/JAXRResponse.html" title="interface in javax.xml.registry">JAXRResponse</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the status which is an integer enumerated value<DT><B>See Also:</B><DD><A HREF="../../../javax/xml/registry/JAXRResponse.html#STATUS_SUCCESS"><CODE>JAXRResponse.STATUS_SUCCESS</CODE></A></DL></DD></DL><HR><A NAME="isAvailable()"><!-- --></A><H3>isAvailable</H3><PRE>public boolean <B>isAvailable</B>() throws <A HREF="../../../javax/xml/registry/JAXRException.html" title="class in javax.xml.registry">JAXRException</A></PRE><DL><DD>Returns true if a response is available, false otherwise. This is a polling method and must not block.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/xml/registry/JAXRResponse.html#isAvailable()">isAvailable</A></CODE> in interface <CODE><A HREF="../../../javax/xml/registry/JAXRResponse.html" title="interface in javax.xml.registry">JAXRResponse</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD><code>true</code> if the response is available; <code>false</code> otherwise<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/registry/JAXRException.html" title="class in javax.xml.registry">JAXRException</A></CODE> - If the JAXR provider encounters an internal error</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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../javax/xml/registry/InvalidRequestException.html" title="class in javax.xml.registry"><B>PREV CLASS</B></A> <A HREF="../../../javax/xml/registry/JAXRResponse.html" title="interface in javax.xml.registry"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?javax/xml/registry/JAXRException.html" target="_top"><B>FRAMES</B></A> <A HREF="JAXRException.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <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><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../legal/license.html" target="_top">license terms.</a></font></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?