source: objectmq/lib/rabbitmq-java-client-javadoc-3.0.1/com/rabbitmq/client/UnexpectedMethodError.html @ 3

Last change on this file since 3 was 3, checked in by stoda, 11 years ago
File size: 12.6 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:10 GMT 2012 -->
6<TITLE>
7UnexpectedMethodError
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="UnexpectedMethodError";
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/UnexpectedFrameError.html" title="class in com.rabbitmq.client"><B>PREV CLASS</B></A>&nbsp;
58&nbsp;<A HREF="../../../com/rabbitmq/client/UnknownClassOrMethodId.html" title="class in com.rabbitmq.client"><B>NEXT CLASS</B></A></FONT></TD>
59<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60  <A HREF="../../../index.html?com/rabbitmq/client/UnexpectedMethodError.html" target="_top"><B>FRAMES</B></A>  &nbsp;
61&nbsp;<A HREF="UnexpectedMethodError.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;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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</FONT>
91<BR>
92Class UnexpectedMethodError</H2>
93<PRE>
94java.lang.Object
95  <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.Throwable
96      <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.Error
97          <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.rabbitmq.client.UnexpectedMethodError</B>
98</PRE>
99<DL>
100<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
101</DL>
102<HR>
103<DL>
104<DT><PRE>public class <B>UnexpectedMethodError</B><DT>extends java.lang.Error</DL>
105</PRE>
106
107<P>
108Indicates that a <A HREF="../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client"><CODE>Method</CODE></A> object was supplied that was not
109 expected. For instance, <A HREF="../../../com/rabbitmq/client/Channel.html#basicGet(java.lang.String, boolean)"><CODE>Channel.basicGet(java.lang.String, boolean)</CODE></A> throws this if it
110 receives anything other than <A HREF="../../../com/rabbitmq/client/AMQP.Basic.GetOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.GetOk</CODE></A> or
111 <A HREF="../../../com/rabbitmq/client/AMQP.Basic.GetEmpty.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.GetEmpty</CODE></A>, and the
112 <A HREF="../../../com/rabbitmq/client/impl/AMQImpl.DefaultMethodVisitor.html" title="class in com.rabbitmq.client.impl"><CODE>DefaultMethodVisitor</CODE></A>
113 throws this as the action within each visitor case.
114<P>
115
116<P>
117<DL>
118<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#com.rabbitmq.client.UnexpectedMethodError">Serialized Form</A></DL>
119<HR>
120
121<P>
122
123<!-- ======== CONSTRUCTOR SUMMARY ======== -->
124
125<A NAME="constructor_summary"><!-- --></A>
126<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
127<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
128<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
129<B>Constructor Summary</B></FONT></TH>
130</TR>
131<TR BGCOLOR="white" CLASS="TableRowColor">
132<TD><CODE><B><A HREF="../../../com/rabbitmq/client/UnexpectedMethodError.html#UnexpectedMethodError(com.rabbitmq.client.Method)">UnexpectedMethodError</A></B>(<A HREF="../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A>&nbsp;method)</CODE>
133
134<BR>
135&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct an UnexpecteMethodError with the given method parameter</TD>
136</TR>
137</TABLE>
138&nbsp;
139<!-- ========== METHOD SUMMARY =========== -->
140
141<A NAME="method_summary"><!-- --></A>
142<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
143<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
144<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
145<B>Method Summary</B></FONT></TH>
146</TR>
147<TR BGCOLOR="white" CLASS="TableRowColor">
148<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
149<CODE>&nbsp;<A HREF="../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A></CODE></FONT></TD>
150<TD><CODE><B><A HREF="../../../com/rabbitmq/client/UnexpectedMethodError.html#getMethod()">getMethod</A></B>()</CODE>
151
152<BR>
153&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the wrapped method.</TD>
154</TR>
155<TR BGCOLOR="white" CLASS="TableRowColor">
156<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
158<TD><CODE><B><A HREF="../../../com/rabbitmq/client/UnexpectedMethodError.html#toString()">toString</A></B>()</CODE>
159
160<BR>
161&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a string representation of this error.</TD>
162</TR>
163</TABLE>
164&nbsp;<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
165<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
166<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
167<TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH>
168</TR>
169<TR BGCOLOR="white" CLASS="TableRowColor">
170<TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace</CODE></TD>
171</TR>
172</TABLE>
173&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
174<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
175<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
176<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
177</TR>
178<TR BGCOLOR="white" CLASS="TableRowColor">
179<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
180</TR>
181</TABLE>
182&nbsp;
183<P>
184
185<!-- ========= CONSTRUCTOR DETAIL ======== -->
186
187<A NAME="constructor_detail"><!-- --></A>
188<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
189<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
190<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
191<B>Constructor Detail</B></FONT></TH>
192</TR>
193</TABLE>
194
195<A NAME="UnexpectedMethodError(com.rabbitmq.client.Method)"><!-- --></A><H3>
196UnexpectedMethodError</H3>
197<PRE>
198public <B>UnexpectedMethodError</B>(<A HREF="../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A>&nbsp;method)</PRE>
199<DL>
200<DD>Construct an UnexpecteMethodError with the given method parameter
201<P>
202<DL>
203<DT><B>Parameters:</B><DD><CODE>method</CODE> - the unexpected method</DL>
204</DL>
205
206<!-- ============ METHOD DETAIL ========== -->
207
208<A NAME="method_detail"><!-- --></A>
209<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
210<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
211<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
212<B>Method Detail</B></FONT></TH>
213</TR>
214</TABLE>
215
216<A NAME="toString()"><!-- --></A><H3>
217toString</H3>
218<PRE>
219public java.lang.String <B>toString</B>()</PRE>
220<DL>
221<DD>Return a string representation of this error.
222<P>
223<DD><DL>
224<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Throwable</CODE></DL>
225</DD>
226<DD><DL>
227
228<DT><B>Returns:</B><DD>a string describing the error</DL>
229</DD>
230</DL>
231<HR>
232
233<A NAME="getMethod()"><!-- --></A><H3>
234getMethod</H3>
235<PRE>
236public <A HREF="../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A> <B>getMethod</B>()</PRE>
237<DL>
238<DD>Return the wrapped method.
239<P>
240<DD><DL>
241
242<DT><B>Returns:</B><DD>the method whose appearance was "unexpected" and was deemed an error</DL>
243</DD>
244</DL>
245<!-- ========= END OF CLASS DATA ========= -->
246<HR>
247
248
249<!-- ======= START OF BOTTOM NAVBAR ====== -->
250<A NAME="navbar_bottom"><!-- --></A>
251<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
252<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
253<TR>
254<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
255<A NAME="navbar_bottom_firstrow"><!-- --></A>
256<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
257  <TR ALIGN="center" VALIGN="top">
258  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
259  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
260  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
261  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
262  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
263  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
264  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
265  </TR>
266</TABLE>
267</TD>
268<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
269</EM>
270</TD>
271</TR>
272
273<TR>
274<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
275&nbsp;<A HREF="../../../com/rabbitmq/client/UnexpectedFrameError.html" title="class in com.rabbitmq.client"><B>PREV CLASS</B></A>&nbsp;
276&nbsp;<A HREF="../../../com/rabbitmq/client/UnknownClassOrMethodId.html" title="class in com.rabbitmq.client"><B>NEXT CLASS</B></A></FONT></TD>
277<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
278  <A HREF="../../../index.html?com/rabbitmq/client/UnexpectedMethodError.html" target="_top"><B>FRAMES</B></A>  &nbsp;
279&nbsp;<A HREF="UnexpectedMethodError.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
280&nbsp;<SCRIPT type="text/javascript">
281  <!--
282  if(window==top) {
283    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
284  }
285  //-->
286</SCRIPT>
287<NOSCRIPT>
288  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
289</NOSCRIPT>
290
291
292</FONT></TD>
293</TR>
294<TR>
295<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
296  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
297<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
298DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
299</TR>
300</TABLE>
301<A NAME="skip-navbar_bottom"></A>
302<!-- ======== END OF BOTTOM NAVBAR ======= -->
303
304<HR>
305
306</BODY>
307</HTML>
Note: See TracBrowser for help on using the repository browser.