1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-14 19:52:21 -05:00

IMAP: detect HttpNotFoundException on folder select

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@759 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-09-29 00:10:45 +00:00
parent 2ef91c0e17
commit c1fbfa354f

View File

@ -201,6 +201,8 @@ public class ImapConnection extends AbstractConnection {
} else { } else {
sendClient(commandId + " OK [READ-ONLY] " + command + " completed"); sendClient(commandId + " OK [READ-ONLY] " + command + " completed");
} }
} catch (HttpNotFoundException e) {
sendClient(commandId + " NO Not found");
} catch (HttpForbiddenException e) { } catch (HttpForbiddenException e) {
sendClient(commandId + " NO Forbidden"); sendClient(commandId + " NO Forbidden");
} }