| 
 | ||||||||||
| 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
org.apache.hadoop.ipc.RPC.VersionMismatch
public static class RPC.VersionMismatch
A version mismatch for the RPC protocol.
| Constructor Summary | |
|---|---|
| RPC.VersionMismatch(String interfaceName,
                    long clientVersion,
                    long serverVersion)Create a version mismatch exception | |
| Method Summary | |
|---|---|
|  long | getClientVersion()Get the client's preferred version | 
|  String | getInterfaceName()Get the interface name | 
|  long | getServerVersion()Get the server's agreed to 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 RPC.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 protocol| Method Detail | 
|---|
public String getInterfaceName()
public long getClientVersion()
public long getServerVersion()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||