public class RpcChannelErrorException extends Exception
| 构造器和说明 |
|---|
RpcChannelErrorException()
Instantiates a new error data exception.
|
RpcChannelErrorException(String message)
Instantiates a new error data exception.
|
RpcChannelErrorException(String message,
int errorCode)
Instantiates a new error data exception.
|
RpcChannelErrorException(String message,
Throwable cause)
Instantiates a new error data exception.
|
RpcChannelErrorException(String message,
Throwable cause,
int errorCode)
Instantiates a new error data exception.
|
RpcChannelErrorException(Throwable cause)
Instantiates a new error data exception.
|
RpcChannelErrorException(Throwable cause,
int errorCode)
Instantiates a new error data exception.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getErrorCode()
Gets the error code.
|
RpcDataPackage |
getRpcDataPackage()
Gets the rpc data package.
|
void |
setErrorCode(int errorCode)
Sets the error code.
|
void |
setRpcDataPackage(RpcDataPackage rpcDataPackage)
Sets the rpc data package.
|
public RpcChannelErrorException()
public RpcChannelErrorException(String message, Throwable cause)
message - the messagecause - the causepublic RpcChannelErrorException(String message, Throwable cause, int errorCode)
message - the messagecause - the causeerrorCode - the error codepublic RpcChannelErrorException(String message)
message - the messagepublic RpcChannelErrorException(String message, int errorCode)
message - the messageerrorCode - the error codepublic RpcChannelErrorException(Throwable cause)
cause - the causepublic RpcChannelErrorException(Throwable cause, int errorCode)
cause - the causeerrorCode - the error codepublic int getErrorCode()
public void setErrorCode(int errorCode)
errorCode - the new error codepublic RpcDataPackage getRpcDataPackage()
public void setRpcDataPackage(RpcDataPackage rpcDataPackage)
rpcDataPackage - the new rpc data packageCopyright © 2022 Baidu, Inc.. All rights reserved.