grpc.github.io
grpc.github.io copied to clipboard
Document exception propagation in Java
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.