mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-03 17:47:02 +01:00
Fix another Java-6ism
This commit is contained in:
parent
82070afd24
commit
7a834cad6e
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue