mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-31 07:12:17 +00:00
Fix another Java-6ism
This commit is contained in:
parent
82070afd24
commit
7a834cad6e
@ -72,7 +72,7 @@ public class MockNetworkConnection implements NetworkConnection {
|
||||
throw new RuntimeException("Unknown object in inbound queue.");
|
||||
}
|
||||
} catch (InterruptedException e) {
|
||||
throw new IOException(e);
|
||||
throw new IOException(e.getMessage());
|
||||
} finally {
|
||||
synchronized (this) {
|
||||
waitingToRead = false;
|
||||
@ -84,7 +84,7 @@ public class MockNetworkConnection implements NetworkConnection {
|
||||
try {
|
||||
outboundMessageQ.put(message);
|
||||
} catch (InterruptedException e) {
|
||||
throw new IOException(e);
|
||||
throw new IOException(e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user