Skip to content

Commit

Permalink
pulsar-client-admin: reduce code duplication in TopicsImpl (apache#13388
Browse files Browse the repository at this point in the history
)
  • Loading branch information
HQebupt authored Dec 21, 2021
1 parent 383c1ee commit 14eaa3d
Show file tree
Hide file tree
Showing 2 changed files with 118 additions and 1,170 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,8 @@ protected <T> T sync(Supplier<CompletableFuture<T>> executor) throws PulsarAdmin
throw new PulsarAdminException(e);
} catch (TimeoutException e) {
throw new PulsarAdminException.TimeoutException(e);
} catch (Exception e) {
throw getApiException(e);
}
}
}
Loading

0 comments on commit 14eaa3d

Please sign in to comment.