public void logError(Throwable t) {
final ILogger logger = Logger.getLogger(RemoteOperationExceptionHandler.class);
if (t instanceof RetryableException) {
final Level level = returnsResponse() ? Level.FINEST : Level.WARNING;
if (logger.isLoggable(level)) {
logger.log(level, t.getClass().getName() + ": " + t.getMessage());
}
} else if (t instanceof OutOfMemoryError) {
try {
logger.log(Level.SEVERE, t.getMessage(), t);
} catch (Throwable ignored) {