Skip to content

Commit

Permalink
remove exceptions from cancel declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamVe committed Feb 29, 2024
1 parent ade10d2 commit 56f7bd2
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,8 @@ public byte[] capture() throws IOException, CommandException, CaptureError {

/**
* Cancels ongoing enrollment.
*
* @throws IOException A communication error in the transport layer.
* @throws CommandException A communication error in the protocol layer.
*/
public void cancel() throws IOException, CommandException {
public void cancel() {
state.cancel();
}

Expand Down

0 comments on commit 56f7bd2

Please sign in to comment.