Skip to content

Commit

Permalink
api: Link to Status#asRuntimeException method in StatusRuntimeExcepti…
Browse files Browse the repository at this point in the history
…on javadocs. (grpc#9373)
  • Loading branch information
benjaminp authored Jul 14, 2022
1 parent ef89bd3 commit 50ebb5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/src/main/java/io/grpc/StatusRuntimeException.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -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
*/
Expand Down

0 comments on commit 50ebb5f

Please sign in to comment.