mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
CE-14 fixed a bug in the restricted entry set
This commit is contained in:
@@ -478,11 +478,14 @@ class ClientWiredStatelessChronicleMap<K, V>
|
||||
|
||||
|
||||
if (wireIn.bytes().remaining() > 0) {
|
||||
// todo process the exception
|
||||
boolean isException = wireIn.read(Fields.isException).bool();
|
||||
if (isException)
|
||||
throw new RuntimeException(wireIn.read(Fields.result).text());
|
||||
}
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
throw e;
|
||||
} finally {
|
||||
hub.inBytesLock().unlock();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user