Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update javadoc regarding exception handling in async clients #5089

Merged
merged 2 commits into from
Apr 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ public final class DocumentationBuilder {
// TODO This prefix is not suitable for paginated operations. Either remove it for paginated operations
// or change the statement to something generic
private static final String ASYNC_THROWS_PREFIX = "The CompletableFuture returned by this method can be completed " +
"exceptionally with the following exceptions.";
"exceptionally with the following exceptions. The exception returned is "
zoewangg marked this conversation as resolved.
Show resolved Hide resolved
+ "wrapped with CompletionException, so you need to invoke {@link "
+ "Throwable#getCause} to retrieve the underlying exception.";

private String desc;
private List<Pair<String, String>> params = new ArrayList<>();
Expand Down
Loading