On 10/02/2013 08:40 PM, Brian Burkhalter wrote:
....
So, how about this approach:

1) If the error is EAI_AGAIN / EIA_SYSTEM+EAGAIN / WSATRY_AGAIN then do one 
immediate native retry.
2) If the retry fails with the same error, then throw a UHE with a specific 
message or cause.

Sounds good to me.

Questions:

A) Would it be better to do the retry in the Java layer, perhaps with a very 
short wait?

native, without any wait, should be sufficient.

B) Should the message or cause in #2 be explicitly document in the javadoc?

I don't think it is necessary for this to be documented. It is more informational.

-Chris.

Reply via email to