grpc.github.io icon indicating copy to clipboard operation
grpc.github.io copied to clipboard

Document exception propagation in Java

Open hsaliak opened this issue 8 years ago • 0 comments

Exception Propagation

  • How can a Java runtime exception be properly marshalled and propagated to the consumer? Common Questions:
  • Is there a generic marshaller that can propagate Java exceptions?
  • If not, how can I implement a generic interceptor for my exceptions?
  • Is it better to throw the exception or have an error status return payload?
  • What happens when you throw an uncaught exception and not having called onComplete/onError callbacks?
  • Metadata = across process

This documentation can be in the form of a guidelines doc or a blog post.

hsaliak avatar Jan 19 '17 00:01 hsaliak