source: branches/objectmq-1.0/lib/rabbitmq-java-client-javadoc-3.0.1/com/rabbitmq/client/ProtocolVersionMismatchException.html

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

new release version

File size: 14.9 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:09 GMT 2012 -->
6<TITLE>
7ProtocolVersionMismatchException
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="ProtocolVersionMismatchException";
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/PossibleAuthenticationFailureException.html" title="class in com.rabbitmq.client"><B>PREV CLASS</B></A>&nbsp;
58&nbsp;<A HREF="../../../com/rabbitmq/client/QueueingConsumer.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/ProtocolVersionMismatchException.html" target="_top"><B>FRAMES</B></A>  &nbsp;
61&nbsp;<A HREF="ProtocolVersionMismatchException.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 ProtocolVersionMismatchException</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.Exception
97          <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.io.IOException
98              <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.net.ProtocolException
99                  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.rabbitmq.client.ProtocolVersionMismatchException</B>
100</PRE>
101<DL>
102<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
103</DL>
104<HR>
105<DL>
106<DT><PRE>public class <B>ProtocolVersionMismatchException</B><DT>extends java.net.ProtocolException</DL>
107</PRE>
108
109<P>
110Thrown to indicate that the server does not support the wire protocol version
111 we requested immediately after opening the TCP socket.
112<P>
113
114<P>
115<DL>
116<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#com.rabbitmq.client.ProtocolVersionMismatchException">Serialized Form</A></DL>
117<HR>
118
119<P>
120
121<!-- ======== CONSTRUCTOR SUMMARY ======== -->
122
123<A NAME="constructor_summary"><!-- --></A>
124<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
125<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
126<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
127<B>Constructor Summary</B></FONT></TH>
128</TR>
129<TR BGCOLOR="white" CLASS="TableRowColor">
130<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ProtocolVersionMismatchException.html#ProtocolVersionMismatchException(com.rabbitmq.client.impl.Version, com.rabbitmq.client.impl.Version)">ProtocolVersionMismatchException</A></B>(<A HREF="../../../com/rabbitmq/client/impl/Version.html" title="class in com.rabbitmq.client.impl">Version</A>&nbsp;clientVersion,
131                                 <A HREF="../../../com/rabbitmq/client/impl/Version.html" title="class in com.rabbitmq.client.impl">Version</A>&nbsp;serverVersion)</CODE>
132
133<BR>
134&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
135</TR>
136</TABLE>
137&nbsp;
138<!-- ========== METHOD SUMMARY =========== -->
139
140<A NAME="method_summary"><!-- --></A>
141<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
142<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
143<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
144<B>Method Summary</B></FONT></TH>
145</TR>
146<TR BGCOLOR="white" CLASS="TableRowColor">
147<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
148<CODE>&nbsp;int</CODE></FONT></TD>
149<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ProtocolVersionMismatchException.html#getClientMajor()">getClientMajor</A></B>()</CODE>
150
151<BR>
152&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The client's AMQP specification major version.</TD>
153</TR>
154<TR BGCOLOR="white" CLASS="TableRowColor">
155<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
156<CODE>&nbsp;int</CODE></FONT></TD>
157<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ProtocolVersionMismatchException.html#getClientMinor()">getClientMinor</A></B>()</CODE>
158
159<BR>
160&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The client's AMQP specification minor version.</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="../../../com/rabbitmq/client/impl/Version.html" title="class in com.rabbitmq.client.impl">Version</A></CODE></FONT></TD>
165<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ProtocolVersionMismatchException.html#getClientVersion()">getClientVersion</A></B>()</CODE>
166
167<BR>
168&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The client's AMQP specification version.</TD>
169</TR>
170<TR BGCOLOR="white" CLASS="TableRowColor">
171<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172<CODE>&nbsp;int</CODE></FONT></TD>
173<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ProtocolVersionMismatchException.html#getServerMajor()">getServerMajor</A></B>()</CODE>
174
175<BR>
176&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The server's AMQP specification major version.</TD>
177</TR>
178<TR BGCOLOR="white" CLASS="TableRowColor">
179<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
180<CODE>&nbsp;int</CODE></FONT></TD>
181<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ProtocolVersionMismatchException.html#getServerMinor()">getServerMinor</A></B>()</CODE>
182
183<BR>
184&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The server's AMQP specification minor version.</TD>
185</TR>
186<TR BGCOLOR="white" CLASS="TableRowColor">
187<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188<CODE>&nbsp;<A HREF="../../../com/rabbitmq/client/impl/Version.html" title="class in com.rabbitmq.client.impl">Version</A></CODE></FONT></TD>
189<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ProtocolVersionMismatchException.html#getServerVersion()">getServerVersion</A></B>()</CODE>
190
191<BR>
192&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The server's AMQP specification version.</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<TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH>
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<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
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<!-- ========= CONSTRUCTOR DETAIL ======== -->
217
218<A NAME="constructor_detail"><!-- --></A>
219<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
220<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
221<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
222<B>Constructor Detail</B></FONT></TH>
223</TR>
224</TABLE>
225
226<A NAME="ProtocolVersionMismatchException(com.rabbitmq.client.impl.Version, com.rabbitmq.client.impl.Version)"><!-- --></A><H3>
227ProtocolVersionMismatchException</H3>
228<PRE>
229public <B>ProtocolVersionMismatchException</B>(<A HREF="../../../com/rabbitmq/client/impl/Version.html" title="class in com.rabbitmq.client.impl">Version</A>&nbsp;clientVersion,
230                                        <A HREF="../../../com/rabbitmq/client/impl/Version.html" title="class in com.rabbitmq.client.impl">Version</A>&nbsp;serverVersion)</PRE>
231<DL>
232</DL>
233
234<!-- ============ METHOD DETAIL ========== -->
235
236<A NAME="method_detail"><!-- --></A>
237<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
238<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
239<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
240<B>Method Detail</B></FONT></TH>
241</TR>
242</TABLE>
243
244<A NAME="getClientVersion()"><!-- --></A><H3>
245getClientVersion</H3>
246<PRE>
247public <A HREF="../../../com/rabbitmq/client/impl/Version.html" title="class in com.rabbitmq.client.impl">Version</A> <B>getClientVersion</B>()</PRE>
248<DL>
249<DD>The client's AMQP specification version.
250<P>
251<DD><DL>
252</DL>
253</DD>
254</DL>
255<HR>
256
257<A NAME="getServerVersion()"><!-- --></A><H3>
258getServerVersion</H3>
259<PRE>
260public <A HREF="../../../com/rabbitmq/client/impl/Version.html" title="class in com.rabbitmq.client.impl">Version</A> <B>getServerVersion</B>()</PRE>
261<DL>
262<DD>The server's AMQP specification version.
263<P>
264<DD><DL>
265</DL>
266</DD>
267</DL>
268<HR>
269
270<A NAME="getClientMajor()"><!-- --></A><H3>
271getClientMajor</H3>
272<PRE>
273public int <B>getClientMajor</B>()</PRE>
274<DL>
275<DD>The client's AMQP specification major version.
276<P>
277<DD><DL>
278</DL>
279</DD>
280</DL>
281<HR>
282
283<A NAME="getClientMinor()"><!-- --></A><H3>
284getClientMinor</H3>
285<PRE>
286public int <B>getClientMinor</B>()</PRE>
287<DL>
288<DD>The client's AMQP specification minor version.
289<P>
290<DD><DL>
291</DL>
292</DD>
293</DL>
294<HR>
295
296<A NAME="getServerMajor()"><!-- --></A><H3>
297getServerMajor</H3>
298<PRE>
299public int <B>getServerMajor</B>()</PRE>
300<DL>
301<DD>The server's AMQP specification major version.
302<P>
303<DD><DL>
304</DL>
305</DD>
306</DL>
307<HR>
308
309<A NAME="getServerMinor()"><!-- --></A><H3>
310getServerMinor</H3>
311<PRE>
312public int <B>getServerMinor</B>()</PRE>
313<DL>
314<DD>The server's AMQP specification minor version.
315<P>
316<DD><DL>
317</DL>
318</DD>
319</DL>
320<!-- ========= END OF CLASS DATA ========= -->
321<HR>
322
323
324<!-- ======= START OF BOTTOM NAVBAR ====== -->
325<A NAME="navbar_bottom"><!-- --></A>
326<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
327<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
328<TR>
329<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
330<A NAME="navbar_bottom_firstrow"><!-- --></A>
331<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
332  <TR ALIGN="center" VALIGN="top">
333  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
334  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
335  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
336  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
337  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
338  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
339  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
340  </TR>
341</TABLE>
342</TD>
343<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
344</EM>
345</TD>
346</TR>
347
348<TR>
349<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
350&nbsp;<A HREF="../../../com/rabbitmq/client/PossibleAuthenticationFailureException.html" title="class in com.rabbitmq.client"><B>PREV CLASS</B></A>&nbsp;
351&nbsp;<A HREF="../../../com/rabbitmq/client/QueueingConsumer.html" title="class in com.rabbitmq.client"><B>NEXT CLASS</B></A></FONT></TD>
352<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
353  <A HREF="../../../index.html?com/rabbitmq/client/ProtocolVersionMismatchException.html" target="_top"><B>FRAMES</B></A>  &nbsp;
354&nbsp;<A HREF="ProtocolVersionMismatchException.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
355&nbsp;<SCRIPT type="text/javascript">
356  <!--
357  if(window==top) {
358    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
359  }
360  //-->
361</SCRIPT>
362<NOSCRIPT>
363  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
364</NOSCRIPT>
365
366
367</FONT></TD>
368</TR>
369<TR>
370<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
371  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
372<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
373DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
374</TR>
375</TABLE>
376<A NAME="skip-navbar_bottom"></A>
377<!-- ======== END OF BOTTOM NAVBAR ======= -->
378
379<HR>
380
381</BODY>
382</HTML>
Note: See TracBrowser for help on using the repository browser.