|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
java.net.ProtocolException
com.rabbitmq.client.ProtocolVersionMismatchException
public class ProtocolVersionMismatchException
Thrown to indicate that the server does not support the wire protocol version we requested immediately after opening the TCP socket.
| Constructor Summary | |
|---|---|
ProtocolVersionMismatchException(Version clientVersion,
Version serverVersion)
|
|
| Method Summary | |
|---|---|
int |
getClientMajor()
The client's AMQP specification major version. |
int |
getClientMinor()
The client's AMQP specification minor version. |
Version |
getClientVersion()
The client's AMQP specification version. |
int |
getServerMajor()
The server's AMQP specification major version. |
int |
getServerMinor()
The server's AMQP specification minor version. |
Version |
getServerVersion()
The server's AMQP specification version. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProtocolVersionMismatchException(Version clientVersion,
Version serverVersion)
| Method Detail |
|---|
public Version getClientVersion()
public Version getServerVersion()
public int getClientMajor()
public int getClientMinor()
public int getServerMajor()
public int getServerMinor()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||