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:
Peter Lawrey
2015-07-25 23:25:54 +03:00
committed by leventov
parent e7a8a11505
commit 87449b7d99
21 changed files with 55 additions and 53 deletions
@@ -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();