Debian Codegraph @

docs/apiDocs/javax/xml/rpc/soap/SOAPFaultException.html

raw
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.4.2_08) on Sat Apr 22 18:57:16 PDT 2006 -->
6 <TITLE>
7 SOAPFaultException (Axis API)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="javax.xml.rpc.soap.SOAPFaultException class">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 parent.document.title="SOAPFaultException (Axis API)";
18 }
19 </SCRIPT>
20
21 </HEAD>
22
23 <BODY BGCOLOR="white" onload="windowTitle();">
24
25
26 <!-- ========= START OF TOP NAVBAR ======= -->
27 <A NAME="navbar_top"><!-- --></A>
28 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30 <TR>
31 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32 <A NAME="navbar_top_firstrow"><!-- --></A>
33 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34 <TR ALIGN="center" VALIGN="top">
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SOAPFaultException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
43 </TR>
44 </TABLE>
45 </TD>
46 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
47 </EM>
48 </TD>
49 </TR>
50
51 <TR>
52 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53 &nbsp;PREV CLASS&nbsp;
54 &nbsp;NEXT CLASS</FONT></TD>
55 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56 <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
57 &nbsp;<A HREF="SOAPFaultException.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
58 &nbsp;<SCRIPT type="text/javascript">
59 <!--
60 if(window==top) {
61 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
62 }
63 //-->
64 </SCRIPT>
65 <NOSCRIPT>
66 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
67 </NOSCRIPT>
68
69 </FONT></TD>
70 </TR>
71 <TR>
72 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
73 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
74 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
76 </TR>
77 </TABLE>
78 <A NAME="skip-navbar_top"></A>
79 <!-- ========= END OF TOP NAVBAR ========= -->
80
81 <HR>
82 <!-- ======== START OF CLASS DATA ======== -->
83 <H2>
84 <FONT SIZE="-1">
85 javax.xml.rpc.soap</FONT>
86 <BR>
87 Class SOAPFaultException</H2>
88 <PRE>
89 java.lang.Object
90 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by">java.lang.Throwable
91 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by">java.lang.Exception
92 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by">java.lang.RuntimeException
93 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>javax.xml.rpc.soap.SOAPFaultException</B>
94 </PRE>
95 <DL>
96 <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
97 </DL>
98 <HR>
99 <DL>
100 <DT>public class <B>SOAPFaultException</B><DT>extends java.lang.RuntimeException</DL>
101
102 <P>
103 The <code>SOAPFaultException</code> exception represents a
104 SOAP fault.
105 <p>
106 The message part in the SOAP fault maps to the contents of
107 <code>faultdetail</code> element accessible through the
108 <code>getDetail</code> method on the <code>SOAPFaultException</code>.
109 The method <code>createDetail</code> on the
110 <code>javax.xml.soap.SOAPFactory</code> creates an instance
111 of the <code>javax.xml.soap.Detail</code>.
112 <p>
113 The <code>faultstring</code> provides a human-readable
114 description of the SOAP fault. The <code>faultcode</code>
115 element provides an algorithmic mapping of the SOAP fault.
116 <p>
117 Refer to SOAP 1.1 and WSDL 1.1 specifications for more
118 details of the SOAP faults.
119 <P>
120
121 <P>
122 <DL>
123 <DT><B>Version:</B></DT>
124 <DD>1.0</DD>
125 <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#javax.xml.rpc.soap.SOAPFaultException">Serialized Form</A></DL>
126 <HR>
127
128 <P>
129 <!-- ======== NESTED CLASS SUMMARY ======== -->
130
131
132 <!-- =========== FIELD SUMMARY =========== -->
133
134
135 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
136
137 <A NAME="constructor_summary"><!-- --></A>
138 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
139 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
140 <TD COLSPAN=2><FONT SIZE="+2">
141 <B>Constructor Summary</B></FONT></TD>
142 </TR>
143 <TR BGCOLOR="white" CLASS="TableRowColor">
144 <TD><CODE><B><A HREF="../../../../javax/xml/rpc/soap/SOAPFaultException.html#SOAPFaultException(javax.xml.namespace.QName, java.lang.String, java.lang.String, javax.xml.soap.Detail)">SOAPFaultException</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;faultcode,
145 java.lang.String&nbsp;faultstring,
146 java.lang.String&nbsp;faultactor,
147 <A HREF="../../../../javax/xml/soap/Detail.html" title="interface in javax.xml.soap">Detail</A>&nbsp;detail)</CODE>
148
149 <BR>
150 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor for SOAPFaultException.</TD>
151 </TR>
152 </TABLE>
153 &nbsp;
154 <!-- ========== METHOD SUMMARY =========== -->
155
156 <A NAME="method_summary"><!-- --></A>
157 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
158 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
159 <TD COLSPAN=2><FONT SIZE="+2">
160 <B>Method Summary</B></FONT></TD>
161 </TR>
162 <TR BGCOLOR="white" CLASS="TableRowColor">
163 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
164 <CODE>&nbsp;<A HREF="../../../../javax/xml/soap/Detail.html" title="interface in javax.xml.soap">Detail</A></CODE></FONT></TD>
165 <TD><CODE><B><A HREF="../../../../javax/xml/rpc/soap/SOAPFaultException.html#getDetail()">getDetail</A></B>()</CODE>
166
167 <BR>
168 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the detail element.</TD>
169 </TR>
170 <TR BGCOLOR="white" CLASS="TableRowColor">
171 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
173 <TD><CODE><B><A HREF="../../../../javax/xml/rpc/soap/SOAPFaultException.html#getFaultActor()">getFaultActor</A></B>()</CODE>
174
175 <BR>
176 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the <code>faultactor</code> element.</TD>
177 </TR>
178 <TR BGCOLOR="white" CLASS="TableRowColor">
179 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
180 <CODE>&nbsp;<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A></CODE></FONT></TD>
181 <TD><CODE><B><A HREF="../../../../javax/xml/rpc/soap/SOAPFaultException.html#getFaultCode()">getFaultCode</A></B>()</CODE>
182
183 <BR>
184 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the <code>faultcode</code> element.</TD>
185 </TR>
186 <TR BGCOLOR="white" CLASS="TableRowColor">
187 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
189 <TD><CODE><B><A HREF="../../../../javax/xml/rpc/soap/SOAPFaultException.html#getFaultString()">getFaultString</A></B>()</CODE>
190
191 <BR>
192 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the <code>faultstring</code> element.</TD>
193 </TR>
194 </TABLE>
195 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
196 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
197 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
198 <TD><B>Methods inherited from class java.lang.Throwable</B></TD>
199 </TR>
200 <TR BGCOLOR="white" CLASS="TableRowColor">
201 <TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</CODE></TD>
202 </TR>
203 </TABLE>
204 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
205 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
206 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
207 <TD><B>Methods inherited from class java.lang.Object</B></TD>
208 </TR>
209 <TR BGCOLOR="white" CLASS="TableRowColor">
210 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
211 </TR>
212 </TABLE>
213 &nbsp;
214 <P>
215
216 <!-- ============ FIELD DETAIL =========== -->
217
218
219 <!-- ========= CONSTRUCTOR DETAIL ======== -->
220
221 <A NAME="constructor_detail"><!-- --></A>
222 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
223 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
224 <TD COLSPAN=1><FONT SIZE="+2">
225 <B>Constructor Detail</B></FONT></TD>
226 </TR>
227 </TABLE>
228
229 <A NAME="SOAPFaultException(javax.xml.namespace.QName, java.lang.String, java.lang.String, javax.xml.soap.Detail)"><!-- --></A><H3>
230 SOAPFaultException</H3>
231 <PRE>
232 public <B>SOAPFaultException</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;faultcode,
233 java.lang.String&nbsp;faultstring,
234 java.lang.String&nbsp;faultactor,
235 <A HREF="../../../../javax/xml/soap/Detail.html" title="interface in javax.xml.soap">Detail</A>&nbsp;detail)</PRE>
236 <DL>
237 <DD>Constructor for SOAPFaultException.
238 <P>
239 <DT><B>Parameters:</B><DD><CODE>faultcode</CODE> - <code>QName</code> for the SOAP faultcode<DD><CODE>faultstring</CODE> - <code>faultstring</code> element of SOAP fault<DD><CODE>faultactor</CODE> - <code>faultactor</code> element of SOAP fault<DD><CODE>detail</CODE> - <code>faultdetail</code> element of SOAP fault</DL>
240
241 <!-- ============ METHOD DETAIL ========== -->
242
243 <A NAME="method_detail"><!-- --></A>
244 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
245 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
246 <TD COLSPAN=1><FONT SIZE="+2">
247 <B>Method Detail</B></FONT></TD>
248 </TR>
249 </TABLE>
250
251 <A NAME="getFaultCode()"><!-- --></A><H3>
252 getFaultCode</H3>
253 <PRE>
254 public <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> <B>getFaultCode</B>()</PRE>
255 <DL>
256 <DD>Gets the <code>faultcode</code> element. The <code>faultcode</code> element provides an algorithmic
257 mechanism for identifying the fault. SOAP defines a small set of SOAP fault codes covering
258 basic SOAP faults.
259 <P>
260 <DD><DL>
261
262 <DT><B>Returns:</B><DD>QName of the faultcode element</DL>
263 </DD>
264 </DL>
265 <HR>
266
267 <A NAME="getFaultString()"><!-- --></A><H3>
268 getFaultString</H3>
269 <PRE>
270 public java.lang.String <B>getFaultString</B>()</PRE>
271 <DL>
272 <DD>Gets the <code>faultstring</code> element. The faultstring provides a human-readable description of
273 the SOAP fault and is not intended for algorithmic processing.
274 <P>
275 <DD><DL>
276
277 <DT><B>Returns:</B><DD><code>faultstring</code> element of the SOAP fault</DL>
278 </DD>
279 </DL>
280 <HR>
281
282 <A NAME="getFaultActor()"><!-- --></A><H3>
283 getFaultActor</H3>
284 <PRE>
285 public java.lang.String <B>getFaultActor</B>()</PRE>
286 <DL>
287 <DD>Gets the <code>faultactor</code> element. The <code>faultactor</code>
288 element provides information about which SOAP node on the SOAP message
289 path caused the fault to happen. It indicates the source of the fault.
290 <P>
291 <DD><DL>
292
293 <DT><B>Returns:</B><DD><code>faultactor</code> element of the SOAP fault</DL>
294 </DD>
295 </DL>
296 <HR>
297
298 <A NAME="getDetail()"><!-- --></A><H3>
299 getDetail</H3>
300 <PRE>
301 public <A HREF="../../../../javax/xml/soap/Detail.html" title="interface in javax.xml.soap">Detail</A> <B>getDetail</B>()</PRE>
302 <DL>
303 <DD>Gets the detail element. The detail element is intended for carrying
304 application specific error information related to the SOAP Body.
305 <P>
306 <DD><DL>
307
308 <DT><B>Returns:</B><DD><code>detail</code> element of the SOAP fault</DL>
309 </DD>
310 </DL>
311 <!-- ========= END OF CLASS DATA ========= -->
312 <HR>
313
314
315 <!-- ======= START OF BOTTOM NAVBAR ====== -->
316 <A NAME="navbar_bottom"><!-- --></A>
317 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
318 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
319 <TR>
320 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
321 <A NAME="navbar_bottom_firstrow"><!-- --></A>
322 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
323 <TR ALIGN="center" VALIGN="top">
324 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
325 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
326 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
327 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SOAPFaultException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
328 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
329 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
330 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
331 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
332 </TR>
333 </TABLE>
334 </TD>
335 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
336 </EM>
337 </TD>
338 </TR>
339
340 <TR>
341 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
342 &nbsp;PREV CLASS&nbsp;
343 &nbsp;NEXT CLASS</FONT></TD>
344 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
345 <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
346 &nbsp;<A HREF="SOAPFaultException.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
347 &nbsp;<SCRIPT type="text/javascript">
348 <!--
349 if(window==top) {
350 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
351 }
352 //-->
353 </SCRIPT>
354 <NOSCRIPT>
355 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
356 </NOSCRIPT>
357
358 </FONT></TD>
359 </TR>
360 <TR>
361 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
362 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
363 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
364 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
365 </TR>
366 </TABLE>
367 <A NAME="skip-navbar_bottom"></A>
368 <!-- ======== END OF BOTTOM NAVBAR ======= -->
369
370 <HR>
371 Copyright © 2005 Apache Web Services Project. All Rights Reserved.
372 </BODY>
373 </HTML>