We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently we have code like this:
try { byte[] value = chronicleMap.get(key); LinkedList<BytesValue> list; list = value == null ? new LinkedList<>() : SerializationUtils.deserialize(value); // <- can throw for (byte[] v : values) { list.addFirst(new BytesValue(v)); } chronicleMap.put(key, SerializationUtils.serialize(list)); // <- can throw return list.size(); } finally { lock.unlock(); }
From 2 places the same exception can be thrown but only 1 of them indicates client error. Should create try/catch and wrap the thrown exception.
try/catch
Related to #74
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently we have code like this:
From 2 places the same exception can be thrown but only 1 of them indicates client error.
Should create
try/catch
and wrap the thrown exception.Related to #74
The text was updated successfully, but these errors were encountered: