From b489120d7ea33fcecbf5fcf57192fb1037771c61 Mon Sep 17 00:00:00 2001 From: mguessan Date: Mon, 7 Mar 2011 14:16:22 +0000 Subject: [PATCH] Caldav: rethrow SocketException to avoid event not available on client connection close or DavMail listener restart git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1636 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/caldav/CaldavConnection.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/java/davmail/caldav/CaldavConnection.java b/src/java/davmail/caldav/CaldavConnection.java index 6d1d7073..1b4cd20e 100644 --- a/src/java/davmail/caldav/CaldavConnection.java +++ b/src/java/davmail/caldav/CaldavConnection.java @@ -711,6 +711,9 @@ public class CaldavConnection extends AbstractConnection { } appendItemResponse(response, request, item); } + } catch (SocketException e) { + // rethrow SocketException (client closed connection) + throw e; } catch (Exception e) { wireLogger.debug(e.getMessage(), e); DavGatewayTray.warn(new BundleMessage("LOG_ITEM_NOT_AVAILABLE", eventName, href));