Well, the issue is with the Lock interface it does not throw IOException for lock() and lockInteruptablly() so needed to take this way; but should have had
it documented in Lockable by overriding them, that will be done in next round.