hi all
when build a grpc server by ServerBuilder, I use the ServerBuilder.executor(myExecutor) to bind my own executor. I set the max thread count 、queue capacity and throw rejectExecutionException when the executor is full in the myExecutor.
my question is : when the executor is full, how to catch the exception and converted to the grpc status. Also I want the grpc client distinguish the error is cause by the reject of executor.
thank you.