diff --git a/network/tor/src/main/java/bisq/tor/controller/NativeTorController.java b/network/tor/src/main/java/bisq/tor/controller/NativeTorController.java index 673981cb72..515ecf1972 100644 --- a/network/tor/src/main/java/bisq/tor/controller/NativeTorController.java +++ b/network/tor/src/main/java/bisq/tor/controller/NativeTorController.java @@ -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); } } diff --git a/network/tor/src/main/java/bisq/tor/controller/TorBootstrapFailed.java b/network/tor/src/main/java/bisq/tor/controller/TorBootstrapFailedException.java similarity index 80% rename from network/tor/src/main/java/bisq/tor/controller/TorBootstrapFailed.java rename to network/tor/src/main/java/bisq/tor/controller/TorBootstrapFailedException.java index 238b7f8b81..d493a180df 100644 --- a/network/tor/src/main/java/bisq/tor/controller/TorBootstrapFailed.java +++ b/network/tor/src/main/java/bisq/tor/controller/TorBootstrapFailedException.java @@ -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); } }