source: branches/objectmq-1.0/lib/rabbitmq-java-client-javadoc-3.0.1/com/rabbitmq/client/impl/ExceptionHandler.html @ 33

Last change on this file since 33 was 33, checked in by amoreno, 11 years ago

new release version

File size: 16.0 KB
Line 
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.6.0_18) on Tue Dec 11 11:47:11 GMT 2012 -->
6<TITLE>
7ExceptionHandler
8</TITLE>
9
10<META NAME="date" CONTENT="2012-12-11">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17    if (location.href.indexOf('is-external=true') == -1) {
18        parent.document.title="ExceptionHandler";
19    }
20}
21</SCRIPT>
22<NOSCRIPT>
23</NOSCRIPT>
24
25</HEAD>
26
27<BODY BGCOLOR="white" onload="windowTitle();">
28<HR>
29
30
31<!-- ========= START OF TOP NAVBAR ======= -->
32<A NAME="navbar_top"><!-- --></A>
33<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35<TR>
36<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37<A NAME="navbar_top_firstrow"><!-- --></A>
38<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39  <TR ALIGN="center" VALIGN="top">
40  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
47  </TR>
48</TABLE>
49</TD>
50<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
51</EM>
52</TD>
53</TR>
54
55<TR>
56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57&nbsp;<A HREF="../../../../com/rabbitmq/client/impl/DefaultExceptionHandler.html" title="class in com.rabbitmq.client.impl"><B>PREV CLASS</B></A>&nbsp;
58&nbsp;<A HREF="../../../../com/rabbitmq/client/impl/ExternalMechanism.html" title="class in com.rabbitmq.client.impl"><B>NEXT CLASS</B></A></FONT></TD>
59<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60  <A HREF="../../../../index.html?com/rabbitmq/client/impl/ExceptionHandler.html" target="_top"><B>FRAMES</B></A>  &nbsp;
61&nbsp;<A HREF="ExceptionHandler.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
62&nbsp;<SCRIPT type="text/javascript">
63  <!--
64  if(window==top) {
65    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
66  }
67  //-->
68</SCRIPT>
69<NOSCRIPT>
70  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
71</NOSCRIPT>
72
73
74</FONT></TD>
75</TR>
76<TR>
77<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
81</TR>
82</TABLE>
83<A NAME="skip-navbar_top"></A>
84<!-- ========= END OF TOP NAVBAR ========= -->
85
86<HR>
87<!-- ======== START OF CLASS DATA ======== -->
88<H2>
89<FONT SIZE="-1">
90com.rabbitmq.client.impl</FONT>
91<BR>
92Interface ExceptionHandler</H2>
93<DL>
94<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../com/rabbitmq/client/impl/DefaultExceptionHandler.html" title="class in com.rabbitmq.client.impl">DefaultExceptionHandler</A></DD>
95</DL>
96<HR>
97<DL>
98<DT><PRE>public interface <B>ExceptionHandler</B></DL>
99</PRE>
100
101<P>
102Interface to an exception-handling object.
103<P>
104
105<P>
106<HR>
107
108<P>
109
110<!-- ========== METHOD SUMMARY =========== -->
111
112<A NAME="method_summary"><!-- --></A>
113<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
114<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
115<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
116<B>Method Summary</B></FONT></TH>
117</TR>
118<TR BGCOLOR="white" CLASS="TableRowColor">
119<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
120<CODE>&nbsp;void</CODE></FONT></TD>
121<TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/ExceptionHandler.html#handleConfirmListenerException(com.rabbitmq.client.Channel, java.lang.Throwable)">handleConfirmListenerException</A></B>(<A HREF="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</A>&nbsp;channel,
122                               java.lang.Throwable&nbsp;exception)</CODE>
123
124<BR>
125&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Perform any required exception processing for the situation
126 when the driver thread for the connection has called a
127 ConfirmListener's handleAck or handleNack method, and that
128 method has thrown an exception.</TD>
129</TR>
130<TR BGCOLOR="white" CLASS="TableRowColor">
131<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
132<CODE>&nbsp;void</CODE></FONT></TD>
133<TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/ExceptionHandler.html#handleConsumerException(com.rabbitmq.client.Channel, java.lang.Throwable, com.rabbitmq.client.Consumer, java.lang.String, java.lang.String)">handleConsumerException</A></B>(<A HREF="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</A>&nbsp;channel,
134                        java.lang.Throwable&nbsp;exception,
135                        <A HREF="../../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</A>&nbsp;consumer,
136                        java.lang.String&nbsp;consumerTag,
137                        java.lang.String&nbsp;methodName)</CODE>
138
139<BR>
140&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Perform any required exception processing for the situation
141 when the driver thread for the connection has called a method
142 on a Consumer, and that method has thrown an exception.</TD>
143</TR>
144<TR BGCOLOR="white" CLASS="TableRowColor">
145<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
146<CODE>&nbsp;void</CODE></FONT></TD>
147<TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/ExceptionHandler.html#handleFlowListenerException(com.rabbitmq.client.Channel, java.lang.Throwable)">handleFlowListenerException</A></B>(<A HREF="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</A>&nbsp;channel,
148                            java.lang.Throwable&nbsp;exception)</CODE>
149
150<BR>
151&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Perform any required exception processing for the situation
152 when the driver thread for the connection has called a
153 FlowListener's handleFlow method, and that method has
154 thrown an exeption.</TD>
155</TR>
156<TR BGCOLOR="white" CLASS="TableRowColor">
157<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158<CODE>&nbsp;void</CODE></FONT></TD>
159<TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/ExceptionHandler.html#handleReturnListenerException(com.rabbitmq.client.Channel, java.lang.Throwable)">handleReturnListenerException</A></B>(<A HREF="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</A>&nbsp;channel,
160                              java.lang.Throwable&nbsp;exception)</CODE>
161
162<BR>
163&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Perform any required exception processing for the situation
164 when the driver thread for the connection has called a
165 ReturnListener's handleReturn method, and that method has
166 thrown an exception.</TD>
167</TR>
168<TR BGCOLOR="white" CLASS="TableRowColor">
169<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
170<CODE>&nbsp;void</CODE></FONT></TD>
171<TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/ExceptionHandler.html#handleUnexpectedConnectionDriverException(com.rabbitmq.client.Connection, java.lang.Throwable)">handleUnexpectedConnectionDriverException</A></B>(<A HREF="../../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client">Connection</A>&nbsp;conn,
172                                          java.lang.Throwable&nbsp;exception)</CODE>
173
174<BR>
175&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Perform any required exception processing for the situation
176 when the driver thread for the connection has an exception
177 signalled to it that it can't otherwise deal with.</TD>
178</TR>
179</TABLE>
180&nbsp;
181<P>
182
183<!-- ============ METHOD DETAIL ========== -->
184
185<A NAME="method_detail"><!-- --></A>
186<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
187<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
188<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
189<B>Method Detail</B></FONT></TH>
190</TR>
191</TABLE>
192
193<A NAME="handleUnexpectedConnectionDriverException(com.rabbitmq.client.Connection, java.lang.Throwable)"><!-- --></A><H3>
194handleUnexpectedConnectionDriverException</H3>
195<PRE>
196void <B>handleUnexpectedConnectionDriverException</B>(<A HREF="../../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client">Connection</A>&nbsp;conn,
197                                               java.lang.Throwable&nbsp;exception)</PRE>
198<DL>
199<DD>Perform any required exception processing for the situation
200 when the driver thread for the connection has an exception
201 signalled to it that it can't otherwise deal with.
202<P>
203<DD><DL>
204<DT><B>Parameters:</B><DD><CODE>conn</CODE> - the Connection that caught the exception<DD><CODE>exception</CODE> - the exception caught in the driver thread</DL>
205</DD>
206</DL>
207<HR>
208
209<A NAME="handleReturnListenerException(com.rabbitmq.client.Channel, java.lang.Throwable)"><!-- --></A><H3>
210handleReturnListenerException</H3>
211<PRE>
212void <B>handleReturnListenerException</B>(<A HREF="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</A>&nbsp;channel,
213                                   java.lang.Throwable&nbsp;exception)</PRE>
214<DL>
215<DD>Perform any required exception processing for the situation
216 when the driver thread for the connection has called a
217 ReturnListener's handleReturn method, and that method has
218 thrown an exception.
219<P>
220<DD><DL>
221<DT><B>Parameters:</B><DD><CODE>channel</CODE> - the ChannelN that held the ReturnListener<DD><CODE>exception</CODE> - the exception thrown by ReturnListener.handleReturn</DL>
222</DD>
223</DL>
224<HR>
225
226<A NAME="handleFlowListenerException(com.rabbitmq.client.Channel, java.lang.Throwable)"><!-- --></A><H3>
227handleFlowListenerException</H3>
228<PRE>
229void <B>handleFlowListenerException</B>(<A HREF="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</A>&nbsp;channel,
230                                 java.lang.Throwable&nbsp;exception)</PRE>
231<DL>
232<DD>Perform any required exception processing for the situation
233 when the driver thread for the connection has called a
234 FlowListener's handleFlow method, and that method has
235 thrown an exeption.
236<P>
237<DD><DL>
238<DT><B>Parameters:</B><DD><CODE>channel</CODE> - the ChannelN that held the FlowListener<DD><CODE>exception</CODE> - the exception thrown by FlowListener.handleFlow</DL>
239</DD>
240</DL>
241<HR>
242
243<A NAME="handleConfirmListenerException(com.rabbitmq.client.Channel, java.lang.Throwable)"><!-- --></A><H3>
244handleConfirmListenerException</H3>
245<PRE>
246void <B>handleConfirmListenerException</B>(<A HREF="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</A>&nbsp;channel,
247                                    java.lang.Throwable&nbsp;exception)</PRE>
248<DL>
249<DD>Perform any required exception processing for the situation
250 when the driver thread for the connection has called a
251 ConfirmListener's handleAck or handleNack method, and that
252 method has thrown an exception.
253<P>
254<DD><DL>
255<DT><B>Parameters:</B><DD><CODE>channel</CODE> - the ChannelN that held the ConfirmListener<DD><CODE>exception</CODE> - the exception thrown by ConfirmListener.handleAck</DL>
256</DD>
257</DL>
258<HR>
259
260<A NAME="handleConsumerException(com.rabbitmq.client.Channel, java.lang.Throwable, com.rabbitmq.client.Consumer, java.lang.String, java.lang.String)"><!-- --></A><H3>
261handleConsumerException</H3>
262<PRE>
263void <B>handleConsumerException</B>(<A HREF="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</A>&nbsp;channel,
264                             java.lang.Throwable&nbsp;exception,
265                             <A HREF="../../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</A>&nbsp;consumer,
266                             java.lang.String&nbsp;consumerTag,
267                             java.lang.String&nbsp;methodName)</PRE>
268<DL>
269<DD>Perform any required exception processing for the situation
270 when the driver thread for the connection has called a method
271 on a Consumer, and that method has thrown an exception.
272<P>
273<DD><DL>
274<DT><B>Parameters:</B><DD><CODE>channel</CODE> - the ChannelN that held the Consumer<DD><CODE>exception</CODE> - the exception thrown by the Consumer<DD><CODE>consumer</CODE> - the Consumer that caused the fault<DD><CODE>consumerTag</CODE> - the Consumer's consumerTag<DD><CODE>methodName</CODE> - the name of the method on the Consumer that threw the exception</DL>
275</DD>
276</DL>
277<!-- ========= END OF CLASS DATA ========= -->
278<HR>
279
280
281<!-- ======= START OF BOTTOM NAVBAR ====== -->
282<A NAME="navbar_bottom"><!-- --></A>
283<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
284<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
285<TR>
286<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
287<A NAME="navbar_bottom_firstrow"><!-- --></A>
288<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
289  <TR ALIGN="center" VALIGN="top">
290  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
291  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
292  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
293  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
294  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
295  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
296  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
297  </TR>
298</TABLE>
299</TD>
300<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
301</EM>
302</TD>
303</TR>
304
305<TR>
306<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
307&nbsp;<A HREF="../../../../com/rabbitmq/client/impl/DefaultExceptionHandler.html" title="class in com.rabbitmq.client.impl"><B>PREV CLASS</B></A>&nbsp;
308&nbsp;<A HREF="../../../../com/rabbitmq/client/impl/ExternalMechanism.html" title="class in com.rabbitmq.client.impl"><B>NEXT CLASS</B></A></FONT></TD>
309<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
310  <A HREF="../../../../index.html?com/rabbitmq/client/impl/ExceptionHandler.html" target="_top"><B>FRAMES</B></A>  &nbsp;
311&nbsp;<A HREF="ExceptionHandler.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
312&nbsp;<SCRIPT type="text/javascript">
313  <!--
314  if(window==top) {
315    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
316  }
317  //-->
318</SCRIPT>
319<NOSCRIPT>
320  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
321</NOSCRIPT>
322
323
324</FONT></TD>
325</TR>
326<TR>
327<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
328  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
329<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
330DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
331</TR>
332</TABLE>
333<A NAME="skip-navbar_bottom"></A>
334<!-- ======== END OF BOTTOM NAVBAR ======= -->
335
336<HR>
337
338</BODY>
339</HTML>
Note: See TracBrowser for help on using the repository browser.