mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 11:42:23 -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:
parent
2ef91c0e17
commit
c1fbfa354f
@ -201,6 +201,8 @@ public class ImapConnection extends AbstractConnection {
|
||||
} else {
|
||||
sendClient(commandId + " OK [READ-ONLY] " + command + " completed");
|
||||
}
|
||||
} catch (HttpNotFoundException e) {
|
||||
sendClient(commandId + " NO Not found");
|
||||
} catch (HttpForbiddenException e) {
|
||||
sendClient(commandId + " NO Forbidden");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user