Skip to content

Commit

Permalink
Rename TorBootstrapFailed to TorBootstrapFailedException
Browse files Browse the repository at this point in the history
  • Loading branch information
alvasw committed Aug 2, 2023
1 parent bf1433b commit 49c4368
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ public void waitUntilBootstrapped() {
if (isSuccess) {
removeBootstrapEventListener();
} else {
throw new TorBootstrapFailed("Tor bootstrap timout (2 minutes) triggered.");
throw new TorBootstrapFailedException("Tor bootstrap timout (2 minutes) triggered.");
}
} catch (InterruptedException e) {
throw new TorBootstrapFailed(e);
throw new TorBootstrapFailedException(e);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

package bisq.tor.controller;

public class TorBootstrapFailed extends RuntimeException {
public TorBootstrapFailed(String message) {
public class TorBootstrapFailedException extends RuntimeException {
public TorBootstrapFailedException(String message) {
super(message);
}

public TorBootstrapFailed(Throwable cause) {
public TorBootstrapFailedException(Throwable cause) {
super(cause);
}
}

0 comments on commit 49c4368

Please sign in to comment.