| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.6.0_22) on Tue Apr 17 18:33:16 IST 2012 --> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <TITLE> |
| AxisFault (Apache Axis2 - Root 1.6.2 API) |
| </TITLE> |
| |
| <META NAME="date" CONTENT="2012-04-17"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="AxisFault (Apache Axis2 - Root 1.6.2 API)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" 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_top_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="class-use/AxisFault.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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"> |
| PREV CLASS |
| <A HREF="../../../org/apache/axis2/Constants.html" title="class in org.apache.axis2"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../index.html?org/apache/axis2/AxisFault.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="AxisFault.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_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.axis2</FONT> |
| <BR> |
| Class AxisFault</H2> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
| <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">java.lang.Throwable</A> |
| <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">java.lang.Exception</A> |
| <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">java.io.IOException</A> |
| <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/rmi/RemoteException.html?is-external=true" title="class or interface in java.rmi">java.rmi.RemoteException</A> |
| <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.apache.axis2.AxisFault</B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DD> |
| </DL> |
| <DL> |
| <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</A>, <A HREF="../../../org/apache/axis2/dataretrieval/DataRetrievalException.html" title="class in org.apache.axis2.dataretrieval">DataRetrievalException</A>, <A HREF="../../../org/apache/axis2/deployment/DeploymentException.html" title="class in org.apache.axis2.deployment">DeploymentException</A>, <A HREF="../../../org/apache/axis2/mex/MexException.html" title="class in org.apache.axis2.mex">MexException</A>, <A HREF="../../../org/apache/axis2/phaseresolver/PhaseException.html" title="class in org.apache.axis2.phaseresolver">PhaseException</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>AxisFault</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/rmi/RemoteException.html?is-external=true" title="class or interface in java.rmi">RemoteException</A></DL> |
| </PRE> |
| |
| <P> |
| An exception which maps cleanly to a SOAP fault. |
| This is a base class for exceptions which are mapped to faults. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><a href="http://www.w3.org/TR/2003/REC-soap12-part1-20030624/#soapfault"> |
| SOAP1.2 specification</a>, |
| <a href="http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383507">SOAP1.1 Faults</a> |
| <p/> |
| SOAP faults contain |
| <ol> |
| <li>A fault string |
| <li>A fault code |
| <li>A fault actor |
| <li>Fault details; an xml tree of fault specific elements |
| </ol> |
| <p/> |
| As SOAP1.2 faults are a superset of SOAP1.1 faults, this type holds soap1.2 fault information. When |
| a SOAP1.1 fault is created, spurious information can be discarded. |
| Mapping |
| <pre> |
| SOAP1.2 SOAP1.1 |
| node faultactor |
| reason(0).text faultstring |
| faultcode.value faultcode |
| faultcode.subcode (discarded) |
| detail detail |
| role (discarded) |
| </pre>, |
| <A HREF="../../../serialized-form.html#org.apache.axis2.AxisFault">Serialized Form</A></DL> |
| <HR> |
| |
| <P> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(javax.xml.namespace.QName, java.util.List, java.lang.String, java.lang.Throwable)">AxisFault</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A> faultCode, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> faultSubCodes, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> faultReason, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</CODE> |
| |
| <BR> |
| Constructor</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(javax.xml.namespace.QName, java.lang.String, java.lang.String, java.lang.String, org.apache.axiom.om.OMElement)">AxisFault</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A> faultCode, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> faultReason, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> faultNode, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> faultRole, |
| org.apache.axiom.om.OMElement faultDetail)</CODE> |
| |
| <BR> |
| Constructor</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(javax.xml.namespace.QName, java.lang.String, java.lang.Throwable)">AxisFault</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A> faultCode, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> faultReason, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</CODE> |
| |
| <BR> |
| Constructor</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(org.apache.axiom.soap.SOAPFault)">AxisFault</A></B>(org.apache.axiom.soap.SOAPFault fault)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(org.apache.axiom.soap.SOAPFaultCode, org.apache.axiom.soap.SOAPFaultReason, org.apache.axiom.soap.SOAPFaultNode, org.apache.axiom.soap.SOAPFaultRole, org.apache.axiom.soap.SOAPFaultDetail)">AxisFault</A></B>(org.apache.axiom.soap.SOAPFaultCode soapFaultCode, |
| org.apache.axiom.soap.SOAPFaultReason soapFaultReason, |
| org.apache.axiom.soap.SOAPFaultNode soapFaultNode, |
| org.apache.axiom.soap.SOAPFaultRole soapFaultRole, |
| org.apache.axiom.soap.SOAPFaultDetail soapFaultDetail)</CODE> |
| |
| <BR> |
| This is just a convenience method for the user.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(org.apache.axiom.soap.SOAPFault, org.apache.axis2.context.MessageContext)">AxisFault</A></B>(org.apache.axiom.soap.SOAPFault fault, |
| <A HREF="../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</A> faultCtx)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(java.lang.String)">AxisFault</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message)</CODE> |
| |
| <BR> |
| Constructor.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(java.lang.String, org.apache.axis2.context.MessageContext)">AxisFault</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message, |
| <A HREF="../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</A> faultMessageContext)</CODE> |
| |
| <BR> |
| Create an AxisFault by providing a textual message and a MessageContext |
| that contains the actual fault representation.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(java.lang.String, org.apache.axis2.context.MessageContext, java.lang.Throwable)">AxisFault</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message, |
| <A HREF="../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</A> faultMessageContext, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(java.lang.String, javax.xml.namespace.QName)">AxisFault</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> messageText, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A> faultCode)</CODE> |
| |
| <BR> |
| Constructor</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(java.lang.String, javax.xml.namespace.QName, java.lang.Throwable)">AxisFault</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> messageText, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A> faultCode, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(java.lang.String, java.lang.String)">AxisFault</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> messageText, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> faultCode)</CODE> |
| |
| <BR> |
| Constructor.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(java.lang.String, java.lang.String, java.lang.Throwable)">AxisFault</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> messageText, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> faultCode, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(java.lang.String, java.lang.Throwable)">AxisFault</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</CODE> |
| |
| <BR> |
| Constructor</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(java.lang.Throwable)">AxisFault</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</CODE> |
| |
| <BR> |
| Construct a fault from a Throwable.</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#addHeader(org.apache.axiom.soap.SOAPHeaderBlock)">addHeader</A></B>(org.apache.axiom.soap.SOAPHeaderBlock header)</CODE> |
| |
| <BR> |
| Add a header to the list of fault headers</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#addReason(java.lang.String)">addReason</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> text)</CODE> |
| |
| <BR> |
| Add a reason for the fault in the empty "" language</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#addReason(java.lang.String, java.lang.String)">addReason</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> text, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> language)</CODE> |
| |
| <BR> |
| Add a reason for the fault</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> org.apache.axiom.om.OMElement</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#getDetail()">getDetail</A></B>()</CODE> |
| |
| <BR> |
| Get the current fault detail</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#getFaultAction()">getFaultAction</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#getFaultCode()">getFaultCode</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> org.apache.axiom.soap.SOAPFaultCode</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#getFaultCodeElement()">getFaultCodeElement</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> org.apache.axiom.soap.SOAPFaultDetail</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#getFaultDetailElement()">getFaultDetailElement</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#getFaultMessageContext()">getFaultMessageContext</A></B>()</CODE> |
| |
| <BR> |
| Returns the MessageContext representation of the fault if the fault |
| was created by providing that.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#getFaultNode()">getFaultNode</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> org.apache.axiom.soap.SOAPFaultNode</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#getFaultNodeElement()">getFaultNodeElement</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> org.apache.axiom.soap.SOAPFaultReason</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#getFaultReasonElement()">getFaultReasonElement</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#getFaultRole()">getFaultRole</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> org.apache.axiom.soap.SOAPFaultRole</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#getFaultRoleElement()">getFaultRoleElement</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#getFaultSubCodes()">getFaultSubCodes</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#getFaultType()">getFaultType</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#getMessage()">getMessage</A></B>()</CODE> |
| |
| <BR> |
| Returns the detail message, including the message from the cause, if any, of this exception.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#getNodeURI()">getNodeURI</A></B>()</CODE> |
| |
| <BR> |
| Get the faulting node uri.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#getReason()">getReason</A></B>()</CODE> |
| |
| <BR> |
| Returns the first fault reason, if available.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util">ListIterator</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#headerIterator()">headerIterator</A></B>()</CODE> |
| |
| <BR> |
| Iterate over all of the headers</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#headers()">headers</A></B>()</CODE> |
| |
| <BR> |
| Get at the headers.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#makeFault(java.lang.Throwable)">makeFault</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> e)</CODE> |
| |
| <BR> |
| Make an AxisFault based on a passed Exception.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#setDetail(org.apache.axiom.om.OMElement)">setDetail</A></B>(org.apache.axiom.om.OMElement detail)</CODE> |
| |
| <BR> |
| Set the entire detail element of the fault</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#setFaultAction(java.lang.String)">setFaultAction</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> faultAction)</CODE> |
| |
| <BR> |
| Set the (OPTIONAL) action value for the fault message</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#setFaultCode(javax.xml.namespace.QName)">setFaultCode</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A> soapFaultCode)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#setFaultCode(java.lang.String)">setFaultCode</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> soapFaultCode)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#setFaultSubCodes(java.util.List)">setFaultSubCodes</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> faultSubCodes)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#setFaultType(int)">setFaultType</A></B>(int faultType)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../org/apache/axis2/AxisFault.html#setNodeURI(java.lang.String)">setNodeURI</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> nodeURI)</CODE> |
| |
| <BR> |
| Set the faulting node uri.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.rmi.RemoteException"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.rmi.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/rmi/RemoteException.html?is-external=true" title="class or interface in java.rmi">RemoteException</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/rmi/RemoteException.html?is-external=true#getCause()" title="class or interface in java.rmi">getCause</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace()" title="class or interface in java.lang">fillInStackTrace</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage()" title="class or interface in java.lang">getLocalizedMessage</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#getStackTrace()" title="class or interface in java.lang">getStackTrace</A>, <A HREF="http://download.oracle.com/javase/1.5.0/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://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace()" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://download.oracle.com/javase/1.5.0/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://download.oracle.com/javase/1.5.0/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://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#setStackTrace(java.lang.StackTraceElement[])" title="class or interface in java.lang">setStackTrace</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/1.5.0/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://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_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>Constructor Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="AxisFault(java.lang.String)"><!-- --></A><H3> |
| AxisFault</H3> |
| <PRE> |
| public <B>AxisFault</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message)</PRE> |
| <DL> |
| <DD>Constructor. |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>message</CODE> - the human-readable text describing the fault</DL> |
| </DL> |
| <HR> |
| |
| <A NAME="AxisFault(javax.xml.namespace.QName, java.lang.String, java.lang.Throwable)"><!-- --></A><H3> |
| AxisFault</H3> |
| <PRE> |
| public <B>AxisFault</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A> faultCode, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> faultReason, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</PRE> |
| <DL> |
| <DD>Constructor |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>faultCode</CODE> - - fault code of the message as a QName<DD><CODE>faultReason</CODE> - - the reason for the fault. The language will be defaulted to 'en'<DD><CODE>cause</CODE> - embedded fault which caused this one</DL> |
| </DL> |
| <HR> |
| |
| <A NAME="AxisFault(javax.xml.namespace.QName, java.util.List, java.lang.String, java.lang.Throwable)"><!-- --></A><H3> |
| AxisFault</H3> |
| <PRE> |
| public <B>AxisFault</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A> faultCode, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> faultSubCodes, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> faultReason, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</PRE> |
| <DL> |
| <DD>Constructor |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>faultCode</CODE> - - fault code of the message as a QName<DD><CODE>faultSubCodes</CODE> - - list sub fault codes as a list if QNames<DD><CODE>faultReason</CODE> - - the reason for the fault. The language will be defaulted to 'en'<DD><CODE>cause</CODE> - embedded fault which caused this one</DL> |
| </DL> |
| <HR> |
| |
| <A NAME="AxisFault(javax.xml.namespace.QName, java.lang.String, java.lang.String, java.lang.String, org.apache.axiom.om.OMElement)"><!-- --></A><H3> |
| AxisFault</H3> |
| <PRE> |
| public <B>AxisFault</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A> faultCode, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> faultReason, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> faultNode, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> faultRole, |
| org.apache.axiom.om.OMElement faultDetail)</PRE> |
| <DL> |
| <DD>Constructor |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>faultCode</CODE> - a QName for the fault code<DD><CODE>faultReason</CODE> - the reason for the fault. The language will be defaulted to 'en'<DD><CODE>faultNode</CODE> - a URL identifying the SOAP node generating this fault, or null<DD><CODE>faultRole</CODE> - a URL identifying the SOAP role active when generating this fault, or null<DD><CODE>faultDetail</CODE> - arbitrary XML containing application-specific fault data</DL> |
| </DL> |
| <HR> |
| |
| <A NAME="AxisFault(org.apache.axiom.soap.SOAPFaultCode, org.apache.axiom.soap.SOAPFaultReason, org.apache.axiom.soap.SOAPFaultNode, org.apache.axiom.soap.SOAPFaultRole, org.apache.axiom.soap.SOAPFaultDetail)"><!-- --></A><H3> |
| AxisFault</H3> |
| <PRE> |
| public <B>AxisFault</B>(org.apache.axiom.soap.SOAPFaultCode soapFaultCode, |
| org.apache.axiom.soap.SOAPFaultReason soapFaultReason, |
| org.apache.axiom.soap.SOAPFaultNode soapFaultNode, |
| org.apache.axiom.soap.SOAPFaultRole soapFaultRole, |
| org.apache.axiom.soap.SOAPFaultDetail soapFaultDetail)</PRE> |
| <DL> |
| <DD>This is just a convenience method for the user. If you set these, do not use other methods |
| in this class to get and set things. |
| Any of the parameters can be null |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>soapFaultCode</CODE> - the fault code<DD><CODE>soapFaultReason</CODE> - the fault reason<DD><CODE>soapFaultNode</CODE> - the SOAPFaultNode representing the source node for this fault<DD><CODE>soapFaultRole</CODE> - the SOAPFaultRole representing the source role for this fault<DD><CODE>soapFaultDetail</CODE> - the SOAPFaultDetail containing any application-specific info</DL> |
| </DL> |
| <HR> |
| |
| <A NAME="AxisFault(org.apache.axiom.soap.SOAPFault)"><!-- --></A><H3> |
| AxisFault</H3> |
| <PRE> |
| public <B>AxisFault</B>(org.apache.axiom.soap.SOAPFault fault)</PRE> |
| <DL> |
| </DL> |
| <HR> |
| |
| <A NAME="AxisFault(org.apache.axiom.soap.SOAPFault, org.apache.axis2.context.MessageContext)"><!-- --></A><H3> |
| AxisFault</H3> |
| <PRE> |
| public <B>AxisFault</B>(org.apache.axiom.soap.SOAPFault fault, |
| <A HREF="../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</A> faultCtx)</PRE> |
| <DL> |
| </DL> |
| <HR> |
| |
| <A NAME="AxisFault(java.lang.Throwable)"><!-- --></A><H3> |
| AxisFault</H3> |
| <PRE> |
| protected <B>AxisFault</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</PRE> |
| <DL> |
| <DD>Construct a fault from a Throwable. This is a protected constructor - in general |
| to make an AxisFault from an Exception, you should be calling AxisFault.makeFault(e), |
| which prevents AxisFaults within AxisFaults. |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>cause</CODE> - the Throwable that caused the problem</DL> |
| </DL> |
| <HR> |
| |
| <A NAME="AxisFault(java.lang.String, java.lang.String)"><!-- --></A><H3> |
| AxisFault</H3> |
| <PRE> |
| public <B>AxisFault</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> messageText, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> faultCode)</PRE> |
| <DL> |
| <DD>Constructor. |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>messageText</CODE> - - this will appear as the Text in the Reason information item of SOAP Fault<DD><CODE>faultCode</CODE> - - this will appear as the Value in the Code information item of SOAP Fault</DL> |
| </DL> |
| <HR> |
| |
| <A NAME="AxisFault(java.lang.String, javax.xml.namespace.QName)"><!-- --></A><H3> |
| AxisFault</H3> |
| <PRE> |
| public <B>AxisFault</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> messageText, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A> faultCode)</PRE> |
| <DL> |
| <DD>Constructor |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>messageText</CODE> - this will appear as the Text in the Reason information item of SOAP Fault<DD><CODE>faultCode</CODE> - this will appear as the Value in the Code information item of SOAP Fault</DL> |
| </DL> |
| <HR> |
| |
| <A NAME="AxisFault(java.lang.String, java.lang.Throwable)"><!-- --></A><H3> |
| AxisFault</H3> |
| <PRE> |
| public <B>AxisFault</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</PRE> |
| <DL> |
| <DD>Constructor |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>message</CODE> - this will appear as the Text in the Reason information item of SOAP Fault<DD><CODE>cause</CODE> - the embedded Throwable that caused this fault</DL> |
| </DL> |
| <HR> |
| |
| <A NAME="AxisFault(java.lang.String, javax.xml.namespace.QName, java.lang.Throwable)"><!-- --></A><H3> |
| AxisFault</H3> |
| <PRE> |
| public <B>AxisFault</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> messageText, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A> faultCode, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</PRE> |
| <DL> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>messageText</CODE> - - this will appear as the Text in the Reason information item of SOAP Fault<DD><CODE>faultCode</CODE> - - this will appear as the Value in the Code information item of SOAP Fault<DD><CODE>cause</CODE> - - this will appear under the Detail information item of SOAP Fault</DL> |
| </DL> |
| <HR> |
| |
| <A NAME="AxisFault(java.lang.String, org.apache.axis2.context.MessageContext, java.lang.Throwable)"><!-- --></A><H3> |
| AxisFault</H3> |
| <PRE> |
| public <B>AxisFault</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message, |
| <A HREF="../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</A> faultMessageContext, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</PRE> |
| <DL> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>message</CODE> - <DD><CODE>faultMessageContext</CODE> - <DD><CODE>cause</CODE> - </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="AxisFault(java.lang.String, java.lang.String, java.lang.Throwable)"><!-- --></A><H3> |
| AxisFault</H3> |
| <PRE> |
| public <B>AxisFault</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> messageText, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> faultCode, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</PRE> |
| <DL> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>messageText</CODE> - - this will appear as the Text in the Reason information item of SOAP Fault<DD><CODE>faultCode</CODE> - - this will appear as the Value in the Code information item of SOAP Fault<DD><CODE>cause</CODE> - - this will appear under the Detail information item of SOAP Fault</DL> |
| </DL> |
| <HR> |
| |
| <A NAME="AxisFault(java.lang.String, org.apache.axis2.context.MessageContext)"><!-- --></A><H3> |
| AxisFault</H3> |
| <PRE> |
| public <B>AxisFault</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message, |
| <A HREF="../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</A> faultMessageContext)</PRE> |
| <DL> |
| <DD>Create an AxisFault by providing a textual message and a MessageContext |
| that contains the actual fault representation. |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>message</CODE> - A string that's really only useful for logging.<DD><CODE>faultMessageContext</CODE> - A MessageContext which must contain SOAP fault info</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="addHeader(org.apache.axiom.soap.SOAPHeaderBlock)"><!-- --></A><H3> |
| addHeader</H3> |
| <PRE> |
| public void <B>addHeader</B>(org.apache.axiom.soap.SOAPHeaderBlock header)</PRE> |
| <DL> |
| <DD>Add a header to the list of fault headers |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>header</CODE> - to add.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addReason(java.lang.String)"><!-- --></A><H3> |
| addReason</H3> |
| <PRE> |
| public void <B>addReason</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> text)</PRE> |
| <DL> |
| <DD>Add a reason for the fault in the empty "" language |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>text</CODE> - text message</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addReason(java.lang.String, java.lang.String)"><!-- --></A><H3> |
| addReason</H3> |
| <PRE> |
| public void <B>addReason</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> text, |
| <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> language)</PRE> |
| <DL> |
| <DD>Add a reason for the fault |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>text</CODE> - text message<DD><CODE>language</CODE> - language</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getReason()"><!-- --></A><H3> |
| getReason</H3> |
| <PRE> |
| public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getReason</B>()</PRE> |
| <DL> |
| <DD>Returns the first fault reason, if available. If not found, returns null. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>faultReason</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="headerIterator()"><!-- --></A><H3> |
| headerIterator</H3> |
| <PRE> |
| public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util">ListIterator</A> <B>headerIterator</B>()</PRE> |
| <DL> |
| <DD>Iterate over all of the headers |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>iterator</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="headers()"><!-- --></A><H3> |
| headers</H3> |
| <PRE> |
| public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> <B>headers</B>()</PRE> |
| <DL> |
| <DD>Get at the headers. Useful for java1.5 iteration. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the headers for this fault</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="makeFault(java.lang.Throwable)"><!-- --></A><H3> |
| makeFault</H3> |
| <PRE> |
| public static <A HREF="../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</A> <B>makeFault</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> e)</PRE> |
| <DL> |
| <DD>Make an AxisFault based on a passed Exception. If the Exception is |
| already an AxisFault, simply use that. Otherwise, wrap it in an |
| AxisFault. If the Exception is an InvocationTargetException (which |
| already wraps another Exception), get the wrapped Exception out from |
| there and use that instead of the passed one. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>e</CODE> - the <code>Exception</code> to build a fault for |
| <DT><B>Returns:</B><DD>an <code>AxisFault</code> representing <code>e</code></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDetail()"><!-- --></A><H3> |
| getDetail</H3> |
| <PRE> |
| public org.apache.axiom.om.OMElement <B>getDetail</B>()</PRE> |
| <DL> |
| <DD>Get the current fault detail |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>om element</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFaultCode()"><!-- --></A><H3> |
| getFaultCode</H3> |
| <PRE> |
| public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A> <B>getFaultCode</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFaultSubCodes()"><!-- --></A><H3> |
| getFaultSubCodes</H3> |
| <PRE> |
| public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> <B>getFaultSubCodes</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFaultCodeElement()"><!-- --></A><H3> |
| getFaultCodeElement</H3> |
| <PRE> |
| public org.apache.axiom.soap.SOAPFaultCode <B>getFaultCodeElement</B>()</PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>SOAPFaultCode if, user has set a <CODE>SOAPFaultCode</CODE> element when constructing the |
| <A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(org.apache.axiom.soap.SOAPFaultCode, org.apache.axiom.soap.SOAPFaultReason, org.apache.axiom.soap.SOAPFaultNode, org.apache.axiom.soap.SOAPFaultRole, org.apache.axiom.soap.SOAPFaultDetail)"><CODE>AxisFault</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFaultReasonElement()"><!-- --></A><H3> |
| getFaultReasonElement</H3> |
| <PRE> |
| public org.apache.axiom.soap.SOAPFaultReason <B>getFaultReasonElement</B>()</PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>SOAPFaultCode if, user has set a <CODE>SOAPFaultReason</CODE> element when constructing the |
| <A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(org.apache.axiom.soap.SOAPFaultCode, org.apache.axiom.soap.SOAPFaultReason, org.apache.axiom.soap.SOAPFaultNode, org.apache.axiom.soap.SOAPFaultRole, org.apache.axiom.soap.SOAPFaultDetail)"><CODE>AxisFault</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFaultNodeElement()"><!-- --></A><H3> |
| getFaultNodeElement</H3> |
| <PRE> |
| public org.apache.axiom.soap.SOAPFaultNode <B>getFaultNodeElement</B>()</PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>SOAPFaultCode if, user has set a <CODE>SOAPFaultNode</CODE> element when constructing the |
| <A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(org.apache.axiom.soap.SOAPFaultCode, org.apache.axiom.soap.SOAPFaultReason, org.apache.axiom.soap.SOAPFaultNode, org.apache.axiom.soap.SOAPFaultRole, org.apache.axiom.soap.SOAPFaultDetail)"><CODE>AxisFault</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFaultRoleElement()"><!-- --></A><H3> |
| getFaultRoleElement</H3> |
| <PRE> |
| public org.apache.axiom.soap.SOAPFaultRole <B>getFaultRoleElement</B>()</PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>SOAPFaultCode if, user has set a <CODE>SOAPFaultRole</CODE> element when constructing the |
| <A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(org.apache.axiom.soap.SOAPFaultCode, org.apache.axiom.soap.SOAPFaultReason, org.apache.axiom.soap.SOAPFaultNode, org.apache.axiom.soap.SOAPFaultRole, org.apache.axiom.soap.SOAPFaultDetail)"><CODE>AxisFault</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFaultDetailElement()"><!-- --></A><H3> |
| getFaultDetailElement</H3> |
| <PRE> |
| public org.apache.axiom.soap.SOAPFaultDetail <B>getFaultDetailElement</B>()</PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>SOAPFaultCode if, user has set a <CODE>SOAPFaultDetail</CODE> element when constructing the |
| <A HREF="../../../org/apache/axis2/AxisFault.html#AxisFault(org.apache.axiom.soap.SOAPFaultCode, org.apache.axiom.soap.SOAPFaultReason, org.apache.axiom.soap.SOAPFaultNode, org.apache.axiom.soap.SOAPFaultRole, org.apache.axiom.soap.SOAPFaultDetail)"><CODE>AxisFault</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getNodeURI()"><!-- --></A><H3> |
| getNodeURI</H3> |
| <PRE> |
| public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getNodeURI</B>()</PRE> |
| <DL> |
| <DD>Get the faulting node uri. |
| SOAP1.2 |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>URI as a string or null</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setDetail(org.apache.axiom.om.OMElement)"><!-- --></A><H3> |
| setDetail</H3> |
| <PRE> |
| public void <B>setDetail</B>(org.apache.axiom.om.OMElement detail)</PRE> |
| <DL> |
| <DD>Set the entire detail element of the fault |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>detail</CODE> - an OMElement which MUST be</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setFaultCode(javax.xml.namespace.QName)"><!-- --></A><H3> |
| setFaultCode</H3> |
| <PRE> |
| public void <B>setFaultCode</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A> soapFaultCode)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setFaultSubCodes(java.util.List)"><!-- --></A><H3> |
| setFaultSubCodes</H3> |
| <PRE> |
| public void <B>setFaultSubCodes</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> faultSubCodes)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setFaultCode(java.lang.String)"><!-- --></A><H3> |
| setFaultCode</H3> |
| <PRE> |
| public void <B>setFaultCode</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> soapFaultCode)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setNodeURI(java.lang.String)"><!-- --></A><H3> |
| setNodeURI</H3> |
| <PRE> |
| public void <B>setNodeURI</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> nodeURI)</PRE> |
| <DL> |
| <DD>Set the faulting node uri. (SOAP1.2) |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>nodeURI</CODE> - a String containing a URI indicating which SOAP Node faulted</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFaultNode()"><!-- --></A><H3> |
| getFaultNode</H3> |
| <PRE> |
| public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getFaultNode</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFaultRole()"><!-- --></A><H3> |
| getFaultRole</H3> |
| <PRE> |
| public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getFaultRole</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFaultMessageContext()"><!-- --></A><H3> |
| getFaultMessageContext</H3> |
| <PRE> |
| public <A HREF="../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</A> <B>getFaultMessageContext</B>()</PRE> |
| <DL> |
| <DD>Returns the MessageContext representation of the fault if the fault |
| was created by providing that. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>The MessageContext representing the fault message or null if the |
| fault was not created with MessageContext representation.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFaultAction()"><!-- --></A><H3> |
| getFaultAction</H3> |
| <PRE> |
| public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getFaultAction</B>()</PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the action value set for the fault message</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setFaultAction(java.lang.String)"><!-- --></A><H3> |
| setFaultAction</H3> |
| <PRE> |
| public void <B>setFaultAction</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> faultAction)</PRE> |
| <DL> |
| <DD>Set the (OPTIONAL) action value for the fault message |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>faultAction</CODE> - a String containing an action URI for the fault</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMessage()"><!-- --></A><H3> |
| getMessage</H3> |
| <PRE> |
| public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getMessage</B>()</PRE> |
| <DL> |
| <DD>Returns the detail message, including the message from the cause, if any, of this exception. |
| <P> |
| <DD><DL> |
| <DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/rmi/RemoteException.html?is-external=true#getMessage()" title="class or interface in java.rmi">getMessage</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/rmi/RemoteException.html?is-external=true" title="class or interface in java.rmi">RemoteException</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the detail message</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFaultType()"><!-- --></A><H3> |
| getFaultType</H3> |
| <PRE> |
| public int <B>getFaultType</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setFaultType(int)"><!-- --></A><H3> |
| setFaultType</H3> |
| <PRE> |
| public void <B>setFaultType</B>(int faultType)</PRE> |
| <DL> |
| <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="class-use/AxisFault.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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"> |
| PREV CLASS |
| <A HREF="../../../org/apache/axis2/Constants.html" title="class in org.apache.axis2"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../index.html?org/apache/axis2/AxisFault.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="AxisFault.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> |
| Copyright © 2004-2012 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |