public class RpcException extends IOException
| Constructor and Description |
|---|
RpcException(int errorCode,
String message)
Instantiates a new Rpc exception.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
Gets error code.
|
String |
getErrorTag()
Gets error tag.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RpcException(int errorCode,
String message)
errorCode - the error codemessage - the messagepublic int getErrorCode()
public String getErrorTag()
Copyright © 2016. All rights reserved.