{
public RemoteServerError(RpcError rpcError)
{
code_ = codeFromRpcErrorCode(rpcError.getCode());
message_ = rpcError.getMessage();
RpcUnderlyingError rpcErrorCause = rpcError.getError();
if (rpcErrorCause != null)
{
cause_ = new ServerErrorCause(rpcErrorCause.getCode(),
rpcErrorCause.getCategory(),
rpcErrorCause.getMessage());
}
else
{
cause_ = null;
}