mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Use more specific ChronicleHashClosedException instead of IllegalStateException, when methods of ChronicleHash are called after hash.close(). Actualize ChronicleHash.close() javadoc.
This commit is contained in:
@@ -1002,7 +1002,7 @@ public abstract class VanillaChronicleHash<K,
|
||||
|
||||
private void checkOpen() {
|
||||
if (closed)
|
||||
throw new IllegalStateException("Access to ChronicleHash after close()");
|
||||
throw new ChronicleHashClosedException();
|
||||
}
|
||||
|
||||
protected void addContext(ChainingInterface context) {
|
||||
|
||||
Reference in New Issue
Block a user