Skip to content

Commit

Permalink
Allow client factories to throw a checked exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
io7m committed May 16, 2023
1 parent 8de1eeb commit f8e376a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ public interface HBClientAsynchronousFactoryType<
* @param configuration The client configuration
*
* @return A new client
*
* @throws X If a client cannot be created
*/

L openAsynchronousClient(G configuration);
L openAsynchronousClient(G configuration)
throws X;
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ public interface HBClientSynchronousFactoryType<
*
* @param configuration The client configuration
*
* @throws X If a client cannot be created
*
* @return A new client
*/

L openSynchronousClient(G configuration);
L openSynchronousClient(G configuration)
throws X;
}

0 comments on commit f8e376a

Please sign in to comment.