Pavel Tupitsyn created IGNITE-16117: ---------------------------------------
Summary: Thin 3.0: Convert async exceptions in sync APIs Key: IGNITE-16117 URL: https://issues.apache.org/jira/browse/IGNITE-16117 Project: Ignite Issue Type: Improvement Components: thin client Affects Versions: 3.0.0-alpha3 Reporter: Pavel Tupitsyn Assignee: Pavel Tupitsyn Fix For: 3.0.0-alpha4 Currently, synchronous APIs delegate to async variants like this: {code:java} public Collection<R> deleteAllExact(@NotNull Collection<R> recs) { return deleteAllExactAsync(recs).join(); } {code} However, *join()* throws *CompletionException* so users have to unwrap the actual exception manually. Implement exception unwrapping in all synchronous client APIs. See how server-side APIs deal with this in *AbstractTableView#sync*. -- This message was sent by Atlassian Jira (v8.20.1#820001)