transaction.write(otpKey, otpValue);
System.out.println(" write(" + otpKey.stringValue()
+ ", " + otpValue.stringValue() + ") succeeded");
} catch (final ConnectionException e) {
System.out.println(" write(" + otpKey.stringValue()
+ ", " + otpValue.stringValue() + ") failed: "
+ e.getMessage());
} catch (final TimeoutException e) {
System.out.println(" write(" + otpKey.stringValue()
+ ", " + otpValue.stringValue()
+ ") failed with timeout: " + e.getMessage());