Uses of Class
com.google.protobuf.ServiceException
Packages that use ServiceException
-
Uses of ServiceException in com.google.protobuf
Methods in com.google.protobuf that throw ServiceExceptionModifier and TypeMethodDescriptionBlockingRpcChannel.callBlockingMethod
(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype) Call the given method of the remote service and blocks until it returns.BlockingService.callBlockingMethod
(Descriptors.MethodDescriptor method, RpcController controller, Message request) Equivalent toService.callMethod(com.google.protobuf.Descriptors.MethodDescriptor, com.google.protobuf.RpcController, com.google.protobuf.Message, com.google.protobuf.RpcCallback<com.google.protobuf.Message>)
, except thatcallBlockingMethod()
returns the result of the RPC or throws aServiceException
if there is a failure, rather than passing the information to a callback.