fixed compilation error

This commit is contained in:
Oleg Zhurakousky
2011-01-17 18:17:51 -05:00
parent 4c023d673b
commit 349cddb273

View File

@@ -142,7 +142,12 @@ public class ImapIdleChannelAdapter extends MessageProducerSupport {
if (e instanceof FolderClosedException ||
e instanceof StoreClosedException ||
(e.getNextException() instanceof UnknownHostException && reconnecting)){
waitToReconnect();
try {
waitToReconnect();
} catch (InterruptedException e1) {
Thread.currentThread().interrupt();
return;
}
continue;
}
}