api: Link to Status#asRuntimeException method in StatusRuntimeException javadocs. (#9373)
diff --git a/api/src/main/java/io/grpc/StatusRuntimeException.java b/api/src/main/java/io/grpc/StatusRuntimeException.java
index e3e0555..68b816f 100644
--- a/api/src/main/java/io/grpc/StatusRuntimeException.java
+++ b/api/src/main/java/io/grpc/StatusRuntimeException.java
@@ -32,7 +32,7 @@
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 @@
}
/**
- * 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
*/