public class RpcExceptionConverter extends java.lang.Object implements ExceptionConverter<RpcException>
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
Constructor and Description |
---|
RpcExceptionConverter() |
Modifier and Type | Method and Description |
---|---|
RpcException |
convert(java.lang.Throwable rawError)
Convert exception.
|
protected RpcException |
convertGrpcBasisException(io.grpc.StatusRuntimeException e) |
public RpcException convert(java.lang.Throwable rawError)
ExceptionConverter
convert
in interface ExceptionConverter<RpcException>
rawError
- an exception to convertprotected RpcException convertGrpcBasisException(io.grpc.StatusRuntimeException e)