rename classes and executables from Bisq* to Haveno*

This commit is contained in:
woodser 2021-12-15 12:38:41 -05:00
parent 7c9c35b1b8
commit 1be8e53ee9
72 changed files with 235 additions and 234 deletions

View file

@ -17,8 +17,8 @@
package bisq.network.p2p.network;
class BisqRuntimeException extends RuntimeException {
BisqRuntimeException(String message, Throwable cause) {
class HavenoRuntimeException extends RuntimeException {
HavenoRuntimeException(String message, Throwable cause) {
super(message, cause);
}
}

View file

@ -46,7 +46,7 @@ class ProtoOutputStream {
writeEnvelopeOrThrow(envelope);
} catch (IOException e) {
log.error("Failed to write envelope", e);
throw new BisqRuntimeException("Failed to write envelope", e);
throw new HavenoRuntimeException("Failed to write envelope", e);
}
}

View file

@ -52,11 +52,11 @@ class SynchronizedProtoOutputStream extends ProtoOutputStream {
currentThread.interrupt();
String msg = "Thread " + currentThread + " was interrupted. InterruptedException=" + e;
log.error(msg);
throw new BisqRuntimeException(msg, e);
throw new HavenoRuntimeException(msg, e);
} catch (ExecutionException e) {
String msg = "Failed to write envelope. ExecutionException " + e;
log.error(msg);
throw new BisqRuntimeException(msg, e);
throw new HavenoRuntimeException(msg, e);
}
}