303132333435363738
IsKeyExist command1 = new IsKeyExist(id, db, key); command1.execute(); if(!command1.isExist()) throw new KeyNotExistException(id, db, key); ReadHash command = new ReadHash(id, db, key); command.execute(); return command.getValue(); }