diff --git a/api/src/main/java/io/grpc/ClientCall.java b/api/src/main/java/io/grpc/ClientCall.java index ac32dccda5..b572f1ee55 100644 --- a/api/src/main/java/io/grpc/ClientCall.java +++ b/api/src/main/java/io/grpc/ClientCall.java @@ -141,6 +141,10 @@ public abstract class ClientCall { * An additional block of trailer metadata may be received at the end of the call from the * server. An empty {@link Metadata} object is passed if no trailers are received. * + *

This method should not throw. If this method throws, there is no way to be notified of the + * exception. Implementations should therefore be careful of exceptions which can accidentally + * leak resources. + * * @param status the result of the remote call. * @param trailers metadata provided at call completion. */