public class RpcException
extends java.io.IOException
| Constructor and Description |
|---|
RpcException(RpcStatus status,
java.lang.String msg)
Construct a new RPC exception with the given status and error message.
|
RpcException(RpcStatus status,
java.lang.String msg,
java.lang.Exception e)
Construct a new RPC exception with the given status, error message, and
exception.
|
| Modifier and Type | Method and Description |
|---|---|
RpcStatus |
getStatus() |
public RpcException(RpcStatus status, java.lang.String msg)
status - The status.msg - The error message.public RpcException(RpcStatus status, java.lang.String msg, java.lang.Exception e)
status - The status.msg - The error message.e - The exception.public RpcStatus getStatus()