From 50ebb5f86458e350183fd0ac7714c4ffc982ddce Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 14 Jul 2022 08:34:25 -0700 Subject: [PATCH] api: Link to Status#asRuntimeException method in StatusRuntimeException javadocs. (#9373) --- api/src/main/java/io/grpc/StatusRuntimeException.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/src/main/java/io/grpc/StatusRuntimeException.java b/api/src/main/java/io/grpc/StatusRuntimeException.java index e3e0555fb09..68b816fc7fa 100644 --- a/api/src/main/java/io/grpc/StatusRuntimeException.java +++ b/api/src/main/java/io/grpc/StatusRuntimeException.java @@ -32,7 +32,7 @@ public class StatusRuntimeException extends RuntimeException { private final boolean fillInStackTrace; /** - * Constructs the exception with both a status. See also {@link Status#asException()}. + * Constructs the exception with both a status. See also {@link Status#asRuntimeException()}. * * @since 1.0.0 */ @@ -41,8 +41,8 @@ public StatusRuntimeException(Status status) { } /** - * Constructs the exception with both a status and trailers. See also - * {@link Status#asException(Metadata)}. + * Constructs the exception with both a status and trailers. See also {@link + * Status#asRuntimeException(Metadata)}. * * @since 1.0.0 */