Skip to content

Commit 7c44a4e

Browse files
committed
docs: Clarify the relationship between Status*Exception
1 parent d394cef commit 7c44a4e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

core/src/main/java/io/grpc/StatusException.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
import javax.annotation.Nullable;
3535

3636
/**
37-
* {@link Status} in Exception form, for propagating Status information via exceptions.
38-
*
39-
* @see StatusRuntimeException
37+
* {@link Status} in Exception form, for propagating Status information via exceptions. This is
38+
* semantically equivalent to {@link StatusRuntimeException}, except for usage in APIs that promote
39+
* checked exceptions. gRPC's stubs favor {@code StatusRuntimeException}.
4040
*/
4141
public class StatusException extends Exception {
4242
private static final long serialVersionUID = -660954903976144640L;

0 commit comments

Comments
 (0)