Level.FINE, e, "Obtaining request result throws ");
}
Throwable cause = e.getCause();
if (cause instanceof RequestFailureException) {
FailureReason reason =
((RequestFailureException) cause).getReason();
if (reason.equals(FailureReason.DISCONNECT_PENDING)) {
// Don't read any more from client because session
// is disconnecting.
return;
}
// Assume other failures are transient.