Debian Codegraph @

docs/apiDocs/org/apache/axis/handlers/ErrorHandler.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:20 PDT 2006 -->
6 <TITLE>
7 ErrorHandler (Axis API)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="org.apache.axis.handlers.ErrorHandler 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="ErrorHandler (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/ErrorHandler.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;<A HREF="../../../../org/apache/axis/handlers/EchoHandler.html" title="class in org.apache.axis.handlers"><B>PREV CLASS</B></A>&nbsp;
54 &nbsp;<A HREF="../../../../org/apache/axis/handlers/HandlerChainImpl.html" title="class in org.apache.axis.handlers"><B>NEXT CLASS</B></A></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="ErrorHandler.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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 org.apache.axis.handlers</FONT>
86 <BR>
87 Class ErrorHandler</H2>
88 <PRE>
89 java.lang.Object
90 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../org/apache/axis/handlers/BasicHandler.html" title="class in org.apache.axis.handlers">org.apache.axis.handlers.BasicHandler</A>
91 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.axis.handlers.ErrorHandler</B>
92 </PRE>
93 <DL>
94 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/axis/Handler.html" title="interface in org.apache.axis">Handler</A>, java.io.Serializable</DD>
95 </DL>
96 <HR>
97 <DL>
98 <DT>public class <B>ErrorHandler</B><DT>extends <A HREF="../../../../org/apache/axis/handlers/BasicHandler.html" title="class in org.apache.axis.handlers">BasicHandler</A></DL>
99
100 <P>
101 <DL>
102 <DT><B>Author:</B></DT>
103 <DD>Doug Davis ([email protected]), Glen Daniels ([email protected])</DD>
104 <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.axis.handlers.ErrorHandler">Serialized Form</A></DL>
105 <HR>
106
107 <P>
108 <!-- ======== NESTED CLASS SUMMARY ======== -->
109
110
111 <!-- =========== FIELD SUMMARY =========== -->
112
113 <A NAME="field_summary"><!-- --></A>
114 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
115 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
116 <TD COLSPAN=2><FONT SIZE="+2">
117 <B>Field Summary</B></FONT></TD>
118 </TR>
119 <TR BGCOLOR="white" CLASS="TableRowColor">
120 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
121 <CODE>protected static&nbsp;org.apache.commons.logging.Log</CODE></FONT></TD>
122 <TD><CODE><B><A HREF="../../../../org/apache/axis/handlers/ErrorHandler.html#log">log</A></B></CODE>
123
124 <BR>
125 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
126 </TR>
127 </TABLE>
128 &nbsp;<A NAME="fields_inherited_from_class_org.apache.axis.handlers.BasicHandler"><!-- --></A>
129 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
130 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
131 <TD><B>Fields inherited from class org.apache.axis.handlers.<A HREF="../../../../org/apache/axis/handlers/BasicHandler.html" title="class in org.apache.axis.handlers">BasicHandler</A></B></TD>
132 </TR>
133 <TR BGCOLOR="white" CLASS="TableRowColor">
134 <TD><CODE><A HREF="../../../../org/apache/axis/handlers/BasicHandler.html#makeLockable">makeLockable</A>, <A HREF="../../../../org/apache/axis/handlers/BasicHandler.html#name">name</A>, <A HREF="../../../../org/apache/axis/handlers/BasicHandler.html#options">options</A></CODE></TD>
135 </TR>
136 </TABLE>
137 &nbsp;
138 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
139
140 <A NAME="constructor_summary"><!-- --></A>
141 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
142 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
143 <TD COLSPAN=2><FONT SIZE="+2">
144 <B>Constructor Summary</B></FONT></TD>
145 </TR>
146 <TR BGCOLOR="white" CLASS="TableRowColor">
147 <TD><CODE><B><A HREF="../../../../org/apache/axis/handlers/ErrorHandler.html#ErrorHandler()">ErrorHandler</A></B>()</CODE>
148
149 <BR>
150 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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;void</CODE></FONT></TD>
165 <TD><CODE><B><A HREF="../../../../org/apache/axis/handlers/ErrorHandler.html#invoke(org.apache.axis.MessageContext)">invoke</A></B>(<A HREF="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</A>&nbsp;msgContext)</CODE>
166
167 <BR>
168 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invoke is called to do the actual work of the Handler object.</TD>
169 </TR>
170 </TABLE>
171 &nbsp;<A NAME="methods_inherited_from_class_org.apache.axis.handlers.BasicHandler"><!-- --></A>
172 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
173 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
174 <TD><B>Methods inherited from class org.apache.axis.handlers.<A HREF="../../../../org/apache/axis/handlers/BasicHandler.html" title="class in org.apache.axis.handlers">BasicHandler</A></B></TD>
175 </TR>
176 <TR BGCOLOR="white" CLASS="TableRowColor">
177 <TD><CODE><A HREF="../../../../org/apache/axis/handlers/BasicHandler.html#canHandleBlock(javax.xml.namespace.QName)">canHandleBlock</A>, <A HREF="../../../../org/apache/axis/handlers/BasicHandler.html#cleanup()">cleanup</A>, <A HREF="../../../../org/apache/axis/handlers/BasicHandler.html#generateWSDL(org.apache.axis.MessageContext)">generateWSDL</A>, <A HREF="../../../../org/apache/axis/handlers/BasicHandler.html#getDeploymentData(org.w3c.dom.Document)">getDeploymentData</A>, <A HREF="../../../../org/apache/axis/handlers/BasicHandler.html#getName()">getName</A>, <A HREF="../../../../org/apache/axis/handlers/BasicHandler.html#getOption(java.lang.String)">getOption</A>, <A HREF="../../../../org/apache/axis/handlers/BasicHandler.html#getOptions()">getOptions</A>, <A HREF="../../../../org/apache/axis/handlers/BasicHandler.html#getUnderstoodHeaders()">getUnderstoodHeaders</A>, <A HREF="../../../../org/apache/axis/handlers/BasicHandler.html#init()">init</A>, <A HREF="../../../../org/apache/axis/handlers/BasicHandler.html#initHashtable()">initHashtable</A>, <A HREF="../../../../org/apache/axis/handlers/BasicHandler.html#onFault(org.apache.axis.MessageContext)">onFault</A>, <A HREF="../../../../org/apache/axis/handlers/BasicHandler.html#setName(java.lang.String)">setName</A>, <A HREF="../../../../org/apache/axis/handlers/BasicHandler.html#setOption(java.lang.String, java.lang.Object)">setOption</A>, <A HREF="../../../../org/apache/axis/handlers/BasicHandler.html#setOptionDefault(java.lang.String, java.lang.Object)">setOptionDefault</A>, <A HREF="../../../../org/apache/axis/handlers/BasicHandler.html#setOptions(java.util.Hashtable)">setOptions</A>, <A HREF="../../../../org/apache/axis/handlers/BasicHandler.html#setOptionsLockable(boolean)">setOptionsLockable</A></CODE></TD>
178 </TR>
179 </TABLE>
180 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
181 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
182 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
183 <TD><B>Methods inherited from class java.lang.Object</B></TD>
184 </TR>
185 <TR BGCOLOR="white" CLASS="TableRowColor">
186 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
187 </TR>
188 </TABLE>
189 &nbsp;
190 <P>
191
192 <!-- ============ FIELD DETAIL =========== -->
193
194 <A NAME="field_detail"><!-- --></A>
195 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
196 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
197 <TD COLSPAN=1><FONT SIZE="+2">
198 <B>Field Detail</B></FONT></TD>
199 </TR>
200 </TABLE>
201
202 <A NAME="log"><!-- --></A><H3>
203 log</H3>
204 <PRE>
205 protected static org.apache.commons.logging.Log <B>log</B></PRE>
206 <DL>
207 <DL>
208 </DL>
209 </DL>
210
211 <!-- ========= CONSTRUCTOR DETAIL ======== -->
212
213 <A NAME="constructor_detail"><!-- --></A>
214 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
215 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
216 <TD COLSPAN=1><FONT SIZE="+2">
217 <B>Constructor Detail</B></FONT></TD>
218 </TR>
219 </TABLE>
220
221 <A NAME="ErrorHandler()"><!-- --></A><H3>
222 ErrorHandler</H3>
223 <PRE>
224 public <B>ErrorHandler</B>()</PRE>
225 <DL>
226 </DL>
227
228 <!-- ============ METHOD DETAIL ========== -->
229
230 <A NAME="method_detail"><!-- --></A>
231 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
232 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
233 <TD COLSPAN=1><FONT SIZE="+2">
234 <B>Method Detail</B></FONT></TD>
235 </TR>
236 </TABLE>
237
238 <A NAME="invoke(org.apache.axis.MessageContext)"><!-- --></A><H3>
239 invoke</H3>
240 <PRE>
241 public void <B>invoke</B>(<A HREF="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</A>&nbsp;msgContext)
242 throws <A HREF="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</A></PRE>
243 <DL>
244 <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/axis/Handler.html" title="interface in org.apache.axis">Handler</A></CODE></B></DD>
245 <DD>Invoke is called to do the actual work of the Handler object.
246 If there is a fault during the processing of this method it is
247 invoke's job to catch the exception and undo any partial work
248 that has been completed. Once we leave 'invoke' if a fault
249 is thrown, this classes 'onFault' method will be called.
250 Invoke should rethrow any exceptions it catches, wrapped in
251 an AxisFault.
252 <P>
253 <DD><DL>
254 <DT><B>Parameters:</B><DD><CODE>msgContext</CODE> - the <code>MessageContext</code> to process with this
255 <code>Handler</code>.
256 <DT><B>Throws:</B>
257 <DD><CODE><A HREF="../../../../org/apache/axis/AxisFault.html" title="class in org.apache.axis">AxisFault</A></CODE> - if the handler encounters an error</DL>
258 </DD>
259 </DL>
260 <!-- ========= END OF CLASS DATA ========= -->
261 <HR>
262
263
264 <!-- ======= START OF BOTTOM NAVBAR ====== -->
265 <A NAME="navbar_bottom"><!-- --></A>
266 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
267 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
268 <TR>
269 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
270 <A NAME="navbar_bottom_firstrow"><!-- --></A>
271 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
272 <TR ALIGN="center" VALIGN="top">
273 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
274 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
275 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
276 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ErrorHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
277 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
278 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
279 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
280 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
281 </TR>
282 </TABLE>
283 </TD>
284 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
285 </EM>
286 </TD>
287 </TR>
288
289 <TR>
290 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
291 &nbsp;<A HREF="../../../../org/apache/axis/handlers/EchoHandler.html" title="class in org.apache.axis.handlers"><B>PREV CLASS</B></A>&nbsp;
292 &nbsp;<A HREF="../../../../org/apache/axis/handlers/HandlerChainImpl.html" title="class in org.apache.axis.handlers"><B>NEXT CLASS</B></A></FONT></TD>
293 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
294 <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
295 &nbsp;<A HREF="ErrorHandler.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
296 &nbsp;<SCRIPT type="text/javascript">
297 <!--
298 if(window==top) {
299 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
300 }
301 //-->
302 </SCRIPT>
303 <NOSCRIPT>
304 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
305 </NOSCRIPT>
306
307 </FONT></TD>
308 </TR>
309 <TR>
310 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
311 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
312 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
313 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
314 </TR>
315 </TABLE>
316 <A NAME="skip-navbar_bottom"></A>
317 <!-- ======== END OF BOTTOM NAVBAR ======= -->
318
319 <HR>
320 Copyright © 2005 Apache Web Services Project. All Rights Reserved.
321 </BODY>
322 </HTML>