mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-06 05:34:50 -04:00
rename classes and executables from Bisq* to Haveno*
This commit is contained in:
parent
7c9c35b1b8
commit
1be8e53ee9
72 changed files with 235 additions and 234 deletions
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue