public static class HBaseRPC.VersionMismatch extends IOException
Constructor and Description |
---|
HBaseRPC.VersionMismatch(String interfaceName,
long clientVersion,
long serverVersion)
Create a version mismatch exception
|
Modifier and Type | Method and Description |
---|---|
long |
getClientVersion() |
String |
getInterfaceName()
Get the interface name
|
long |
getServerVersion() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public HBaseRPC.VersionMismatch(String interfaceName, long clientVersion, long serverVersion)
interfaceName
- the name of the protocol mismatchclientVersion
- the client's version of the protocolserverVersion
- the server's version of the protocolpublic String getInterfaceName()
public long getClientVersion()
public long getServerVersion()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.