Equivalents for SendTimeoutExpiredException & DocumentDoesNotExistException from 2.7.16 in 3.4.1

Hi,
That Exception can be equivalents for SendTimeoutExpiredException & DocumentDoesNotExistException from 2.7.16 in new version 3.4.1 ?

The closest equivalent of SendTimeoutExpiredException would be the UnambiguousTimeoutException. That exception is thrown whenever A) the operation is not sent to the server before the timeout or B) the operation is sent to the server but a response is not received before the timeout, and the operation is a non-mutation operation. This is different from the AmbiguousTimeoutException, which indicates that there was a timeout receiving the response but since it was a mutation operation there is a chance it did complete successfully.

The equivalent of the DocumentDoesNotExistException is the DocumentNotFoundException.

1 Like