add GrpcExceptionHandledServerCall to catch exceptions

Signed-off-by: Thomas McKernan <tmeaglei@gmail.com>
This commit is contained in:
Thomas McKernan
2025-05-14 19:06:10 -05:00
committed by Dave Syer
parent 3a7bcdf4e8
commit bd70fcd69f
7 changed files with 85 additions and 34 deletions

View File

@@ -31,7 +31,8 @@ option java_outer_classname = "HelloWorldProto";
// The greeting service definition.
service Simple {
// Sends a greeting
rpc SayHello(HelloRequest) returns (HelloReply) {}
rpc SayHello (HelloRequest) returns (HelloReply) {
}
rpc StreamHello(HelloRequest) returns (stream HelloReply) {}
}