Commit 7fafe01a authored by Ard Schrijvers's avatar Ard Schrijvers

CMS-10897 remove pointless RuntimeException javadoc mention

The lock manager impl shouldn't throw a runtime exception but
just log a warning or error in case something completely unexpected
happens (like failing database connection)
parent 669db680
......@@ -83,7 +83,6 @@ public interface LockManager {
* the {@link LockManager} implementation most likely logging a warning or error, because it is an
* implementation issue if {@code unlock(key)} is invoked by a thread that does not hold the lock.
* @throws IllegalArgumentException if the {@code key} exceeds 256 chars
* @throws RuntimeException in case some error occurs.
*/
void unlock(String key);
......@@ -95,7 +94,6 @@ public interface LockManager {
* </p>
* @param key the {@code key} to check whether there is a lock for
* @return {@code true} when locked
* @throws RuntimeException in case some error occurs.
*/
boolean isLocked(String key);
......@@ -123,7 +121,6 @@ public interface LockManager {
* </p>
* @param key the {@code key} to check whether there is a lock for
* @throws IllegalArgumentException if the {@code key} exceeds 256 chars
* @throws RuntimeException in case some error occurs.
*/
void abort(String key);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment