mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Replace "throws Exception" with the specific Exception(s) thrown.
Conflicts: src/main/java/net/openhft/chronicle/map/EngineReplicationLangBytes.java src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java src/test/java/net/openhft/chronicle/map/IntIntMultiMapTest.java
This commit is contained in:
@@ -1886,7 +1886,7 @@ class StatelessChronicleMap<K, V> implements ChronicleMap<K, V>, Closeable, Clon
|
||||
}
|
||||
}
|
||||
|
||||
private void resizeToMessageOutBuffer(long start, @NotNull Exception e) throws Exception {
|
||||
private <T extends Exception> void resizeToMessageOutBuffer(long start, @NotNull T e) throws T {
|
||||
assert outBytesLock.isHeldByCurrentThread();
|
||||
assert !inBytesLock.isHeldByCurrentThread();
|
||||
String message = e.getMessage();
|
||||
|
||||
Reference in New Issue
Block a user